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. Multi-threaded on both runtimes: smol runs one worker thread per core, tokio uses its own worker threads.
spawn