Function spawnBlocking

#include <Runtime.hpp>template<typename T = void>autospawnBlocking()

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.

Examples0