IntervalExtension<T> extension

Extends the Stream class with the ability to emit each item after a given duration.

on

Methods

interval(Duration duration) Stream<T>

Available on Stream<T>, provided by the IntervalExtension extension

Creates a Stream that emits each item in the Stream after a given duration.