[−][src]Module kayrx::karx
Karx Async Runtime
Modules
futures | Futures Async Execute Engine |
task | Asynchronous green-threads. |
Structs
AccessError | An error returned by |
Builder | Karx builder that configures the settings of a new Karx. |
JoinKarx | A handle that awaits the result of a Karx. |
Karx | A handle to a Karx. |
KarxId | A unique identifier for a karx. |
LocalKey | The key for accessing a task-local value. |
Reactor | The state of a networking driver. |
Runtime | An async runtime. |
Watcher | An I/O handle powered by the networking driver. |
Statics
RUNTIME | The global runtime. |
Functions
block | Spawns a blocking Karx. |
current | Returns a handle to the current Karx. |
exec | Spawns a karx and blocks the current thread on its result. |
spawn | Spawns a Karx. |
yield_now | Cooperatively gives up a timeslice to the karx scheduler. |