Spawns a blocking function onto a thread pool. Use this when you need to run expensive synchronous code inside an async context. The returned handle can be awaited to get the result of the function.
Function spawnBlocking
#include <Runtime.hpp>#include <Runtime.hpp>Spawns a blocking function onto a thread pool. Use this when you need to run expensive synchronous code inside an async context. The returned handle can be awaited to get the result of the function.