Skip to main content

run

Function run 

Source
pub async fn run(
    s: Session,
    link: Link,
    inputs: Receiver<Input>,
    notes: Sender<Note>,
    idle: Option<Duration>,
)
Expand description

Run until the inputs close, or — when idle is given — until the session has been Down with nothing heard from the peer for that long.