pub fn on_present<C>(self, runtime: &mut Runtime, c: C) where C: Continuation<()> {
    if self.runtime.is_currently_emitted.get() {
      runtime.on_current_instant(Box::new(c));
    }
    else {
      self.runtime.call_on_present.borrow_mut().push(Box::new(c));
    }
  }
/// Register a continuation to run during current instant
/// if the signal is present during current instant.
Register a continuation to run during current instant
if the signal is present during current instant.
Register a continuation to run during current instant if the signal is present during current instant .
pub fn on_present<C>(self, runtime: &mut Runtime, c: C) where C: Continuation<()> {
    if self.runtime.is_currently_emitted.get() {
      runtime.on_current_instant(Box::new(c));
    }
    else {
      self.runtime.call_on_present.borrow_mut().push(Box::new(c));
    }
  }
pub fn on_present < C > ( self , runtime : & mut Runtime , c : C ) where C : Continuation < ( ) > { if self . runtime . is_currently_emitted . get ( ) { runtime . on_current_instant ( Box :: new ( c ) ) ; } else { self . runtime . call_on_present . borrow_mut ( ) . push ( Box :: new ( c ) ) ; } }
Register a continuation to run during current instant
if the signal is present during current instant.
Register a continuation to run during current instant if the signal is present during current instant .
self
runtime
&mut Runtime
c
C