Skip to main content

spawn_session_with

Function spawn_session_with 

Source
pub fn spawn_session_with(
    deps: SessionDeps,
    cmd_tx: Sender<SessionCmd>,
    cmd_rx: Receiver<SessionCmd>,
) -> SessionHandle
Expand description

Spawn against a pre-created command channel (see session_channel); builds its own event channel.