Skip to main content

is_running

Function is_running 

Source
fn is_running(started: &AtomicBool) -> bool
Expand description

Whether the state is still running.

Background tasks use this to tell a failure from the normal end that follows AcknowledgementState::stop, which closes their channels on purpose.