[−][src]Module kayrx::fiber
The runtime implementation that runs everything on the current thread.
Structs
Arbiter | Arbiters provide an asynchronous execution environment for fibers, functions and futures. When an Arbiter is created, they spawn a new OS thread, and host an event loop. Some Arbiter functions execute on the current thread. |
Builder | Builder struct for a kayrx runtime. |
Runtime | Single-threaded runtime provides a way to start reactor and runtime on the current thread. |
System | System is a runtime manager. |
SystemRunner | Helper object that runs System's event loop |
Functions
run | Run fiber on the Threadpool. |
spawn | Spawns a future on the current arbiter. |
take | Take fiber to global runtime executor. |