Interval<T> constructor

Interval<T>(
  1. Duration duration, {
  2. required bool after(
    1. StreamElement<Lifecycle<T>>
    ),
  3. required StreamCondition stopWhen,
  4. required T emit,
})

Implementation

Interval(Duration duration,
    {required this.after, required this.stopWhen, required T emit})
    : emitElem = emit,
      super(duration, after);