Function ump_server::thread::spawn

source ·
pub fn spawn<S, R, E, RV>(
    handler: impl Handler<S, R, E, RV> + Send + 'static
) -> (Client<S, R, E>, JoinHandle<Option<RV>>)where
    S: 'static + Send,
    R: 'static + Send,
    E: 'static + Send,
    RV: 'static + Send,
Expand description

Run a thread which will process incoming messages from an ump server end-point.

See top module’s documentation for an overview of the dispatch loop.