TimerStream<T> constructor

TimerStream<T>(
  1. T value,
  2. Duration duration
)

Constructs a Stream which emits value after the specified Duration.

Implementation

TimerStream(T value, Duration duration)
    : _controller = _buildController(value, duration);