bindDisposable method
StreamSink<T>
bindDisposable(
- Disposable disposable, {
- bool sync = false,
- bool? emitCancelledException,
绑定到 Disposable dispose 时close
Implementation
StreamSink<T> bindDisposable(Disposable disposable,
{bool sync = false, bool? emitCancelledException}) =>
bindCancellable(disposable,
sync: sync, emitCancelledException: emitCancelledException);