Module tetsy_jsonrpc_server_utils::reactor[][src]

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

RpcEventLoop

A handle to running event loop. Dropping the handle will cause event loop to finish.

Enums

Executor

Initialized Executor

UninitializedExecutor

Possibly uninitialized event loop executor.