Skip to main content

is_promote_signal

Function is_promote_signal 

Source
fn is_promote_signal(result: Result<(), RecvError>) -> bool
Expand description

Check if the shutdown signal is a real promote (Ok) vs sender dropped (Err). Only returns true for an explicit promote signal.