/// Notify all pending tasks that state has changed
Notify all pending tasks that state has changed
Notify all pending tasks that state has changed
fn notify_state_changed(&self) {
        for task in &self.0.read().tasks {
            task.1.wake_by_ref();
        }
        self.0.write().tasks.clear()
    }
fn notify_state_changed ( & self ) { for task in & self . 0 . read ( ) . tasks { task . 1 . wake_by_ref ( ) ; } self . 0 . write ( ) . tasks . clear ( ) }
Notify all pending tasks that state has changed
Notify all pending tasks that state has changed
&self