WithTimeoutBetweenEvents<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
withTimeoutBetweenEvents(
Duration duration) → Stream< T> -
Available on Stream<
Adds a timeout between events of the stream. If the time between two consecutive events exceeds the specifiedT> , provided by the WithTimeoutBetweenEvents extensionduration, a TimeoutBetweenEventsException will be added to the stream.