Crate ntex_neon

Source
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.
RuntimeBuilder
Builder for Runtime.
Task
A spawned task.

Functions§

spawn
Spawns a new asynchronous task, returning a Task for it.
spawn_blocking
Spawns a blocking task in a new thread, and wait for it.

Type Aliases§

JoinHandle
Type alias for oneshot::Receiver<Result<T, Box<dyn Any + Send>>>, which resolves to an Err when the spawned task panicked.