Skip to main content

Module async_runtime

Module async_runtime 

Source
Expand description

A cross-compatible async runtime

Modulesยง

executor ๐Ÿ”’
io
lock
net
spawn ๐Ÿ”’
task ๐Ÿ”’
timer ๐Ÿ”’

Structsยง

Executor
A handle to a multi-threaded async executor.
Task

Functionsยง

global_executor
Returns the process-wide global executor, driven on its own thread. Single-threaded on smol, multi-threaded on tokio.
spawn