StreamDoneTimeoutExt<T> extension

on

Methods

timeoutDone(Duration duration, {void onTimeout(StreamSink<T> sink)?}) Stream<T>

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

设定stream 的 done 超时