durationSelector property

Stream<void> Function(GroupedStream<T, K> grouped)? durationSelector
final

A function that returns an Stream to determine how long each group should exist. When the returned Stream emits its first data or done event, the group will be closed and removed.

Implementation

final Stream<void> Function(GroupedStream<T, K> grouped)? durationSelector;