StreamDoneTimeoutExt<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
timeoutDone(
Duration duration, {void onTimeout(StreamSink< T> sink)?, bool? cancelOnError = true}) → Stream<T> -
Available on Stream<
设定stream 的 done 超时T> , provided by the StreamDoneTimeoutExt extension