Crate folo

Source

Structs§

Error
ExecutorBuilder
ExecutorClient
The multithreaded entry point for the Folo executor, used for operations that affect more than the current thread.
LocalJoinHandle
Allows a unit of work to be awaited and its result to be observed on the same thread as it is scheduled on.
RemoteJoinHandle
Allows a unit of work to be awaited and its result to be observed on any thread.

Functions§

spawn
Spawns a task to execute a future on the current async worker thread.
spawn_on_any
Spawns a task to execute a future on any worker thread owned by the same Folo runtime as the current thread.
yield_now
Yields control back to the async task runtime to allow other tasks to run. There is no guarantee that other tasks will run in any particular order. Even the same task that called this may be scheduled again immediately.

Type Aliases§

Result