TimerStream<T> constructor

TimerStream<T>(T value, Duration duration)

Constructs a Stream which emits value after the specified Duration.

Implementation

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