Expand description
The async runtime for ntex.
Modules§
- driver
- The platform-specified driver.
- pool
- A thread pool to perform blocking operations in other threads.
Structs§
- Handle
- Handle for current runtime
- Runtime
- The async runtime for ntex.
- Runtime
Builder - Builder for
Runtime. - Task
- A spawned task.
Functions§
- spawn
- Spawns a new asynchronous task, returning a
Taskfor it. - spawn_
blocking - Spawns a blocking task in a new thread, and wait for it.
Type Aliases§
- Join
Handle - Type alias for
oneshot::Receiver<Result<T, Box<dyn Any + Send>>>, which resolves to anErrwhen the spawned task panicked.