Skip to main content

listen

Function listen 

Source
fn listen(
    key: &str,
    heard: &Arc<Mutex<Vec<Instant>>>,
    told: Option<Box<dyn Fn() + Send>>,
    stopped: &Receiver<()>,
    ready: &Sender<Result<(), String>>,
)