fn end_of_instant(&mut self) -> bool {
    if self.end_of_instant_tasks.is_empty() {
      return false;
    }

    if let Some(continuation) = self.end_of_instant_tasks.pop() {
      continuation.call_box(self, ())
    }

    return !self.end_of_instant_tasks.is_empty();
  }
/// Execute a single task registered as an end-of-instant task.
/// Returns whether there are more tasks to run during end of instant instant.
Execute a single task registered as an end-of-instant task.
Returns whether there are more tasks to run during end of instant instant.
Execute a single task registered as an end - of - instant task . Returns whether there are more tasks to run during end of instant instant .
fn end_of_instant(&mut self) -> bool {
    if self.end_of_instant_tasks.is_empty() {
      return false;
    }
    if let Some(continuation) = self.end_of_instant_tasks.pop() {
      continuation.call_box(self, ())
    }
    return !self.end_of_instant_tasks.is_empty();
  }
fn end_of_instant ( & mut self ) -> bool { if self . end_of_instant_tasks . is_empty ( ) { return false ; } if let Some ( continuation ) = self . end_of_instant_tasks . pop ( ) { continuation . call_box ( self , ( ) ) } return ! self . end_of_instant_tasks . is_empty ( ) ; }
Execute a single task registered as an end-of-instant task.
Execute a single task registered as an end - of - instant task .
&mut self