inject method

  1. @override
void inject(
  1. dynamic val, {
  2. bool fill = false,
})
override

Injects a value onto this signal in the current Simulator tick.

This function calls put() in Simulator.injectAction().

Implementation

@override
void inject(dynamic val, {bool fill = false}) {
  Simulator.injectAction(() => put(val, fill: fill));
}