Skip to main content

watch_handler

Function watch_handler 

Source
pub fn watch_handler(method: &str) -> (HandlerWait, HandlerRun)
Expand description

Pair of guards around one handler thread (#2279): HandlerRun lives on the thread, HandlerWait on the side that awaits it. When the waiting side lets go first, the still-running thread is listed as orphaned until it ends.