Module jsonrpc_server_utils::reactor
source · [−]Expand description
Event Loop Executor
Either spawns a new event loop, or re-uses provided one.
Spawned event loop is always single threaded (mostly for
historical/backward compatibility reasons) despite the fact
that tokio::runtime
can be multi-threaded.
Structs
A handle to running event loop. Dropping the handle will cause event loop to finish.
Enums
Initialized Executor
Possibly uninitialized event loop executor.