Struct jsonrpc_server_utils::reactor::RpcEventLoop
[−]
[src]
pub struct RpcEventLoop { /* fields omitted */ }
A handle to running event loop. Dropping the handle will cause event loop to finish.
Methods
impl RpcEventLoop
[src]
fn spawn() -> Result<Self>
[src]
Spawns a new thread with the EventLoop
.
fn with_name(name: Option<String>) -> Result<Self>
[src]
Spawns a new named thread with the EventLoop
.
fn remote(&self) -> Remote
[src]
Get remote for this event loop.
fn wait(self) -> Result<()>
[src]
Blocks current thread and waits until the event loop is finished.
fn close(self)
[src]
Finishes this event loop.