fn add_later_on_present_continuations_to_runtime(&self, runtime: &mut Runtime) {
    let mut later_on_present_continuations = self.runtime.call_later_on_present.borrow_mut();
    for boxed_continuation in later_on_present_continuations.drain(..) {
      let signal_runtime_ref = self.clone();

      runtime.on_next_instant(Box::new(move |r: &mut Runtime, v: ()| {
        let previous_value = signal_runtime_ref.runtime.previous_value.take().unwrap();
        signal_runtime_ref.runtime.previous_value.set(Some(previous_value.clone()));

        boxed_continuation.call_box(r, previous_value.clone());
      }));
    }
  }
/// Add all continuations stored in the `later_on_present_continuations`
/// field of the signal runtime to next instant.
///
/// They are enclosed in continuations which feed them the *precedent value* of the signal,
/// (*precedent* at the moment of the call, i.e. during next instant).
Add all continuations stored in the `later_on_present_continuations`
field of the signal runtime to next instant.

They are enclosed in continuations which feed them the *precedent value* of the signal,
(*precedent* at the moment of the call, i.e. during next instant).
Add all continuations stored in the ` later_on_present_continuations ` field of the signal runtime to next instant . They are enclosed in continuations which feed them the * precedent value * of the signal ( * precedent * at the moment of the call i . e . during next instant ) .
fn add_later_on_present_continuations_to_runtime(&self, runtime: &mut Runtime) {
    let mut later_on_present_continuations = self.runtime.call_later_on_present.borrow_mut();
    for boxed_continuation in later_on_present_continuations.drain(..) {
      let signal_runtime_ref = self.clone();
      runtime.on_next_instant(Box::new(move |r: &mut Runtime, v: ()| {
        let previous_value = signal_runtime_ref.runtime.previous_value.take().unwrap();
        signal_runtime_ref.runtime.previous_value.set(Some(previous_value.clone()));
        boxed_continuation.call_box(r, previous_value.clone());
      }));
    }
  }
fn add_later_on_present_continuations_to_runtime ( & self , runtime : & mut Runtime ) { let mut later_on_present_continuations = self . runtime . call_later_on_present . borrow_mut ( ) ; for boxed_continuation in later_on_present_continuations . drain ( .. ) { let signal_runtime_ref = self . clone ( ) ; runtime . on_next_instant ( Box :: new ( move | r : & mut Runtime , v : ( ) | { let previous_value = signal_runtime_ref . runtime . previous_value . take ( ) . unwrap ( ) ; signal_runtime_ref . runtime . previous_value . set ( Some ( previous_value . clone ( ) ) ) ; boxed_continuation . call_box ( r , previous_value . clone ( ) ) ; } ) ) ; } }
Add all continuations stored in the `later_on_present_continuations`
field of the signal runtime to next instant.
Add all continuations stored in the ` later_on_present_continuations ` field of the signal runtime to next instant .
&self
runtime
&mut Runtime