CancellableStreamSubscription<T> extension

on

Methods

bindCancellable(Cancellable cancellable, {bool sync = true}) → StreamSubscription<T>

Available on StreamSubscription<T>, provided by the CancellableStreamSubscription extension

绑定到 Cancellable cancel时取消
cancelByCancellable(Cancellable cancellable) → StreamSubscription<T>

Available on StreamSubscription<T>, provided by the CancellableStreamSubscription extension

绑定到 Cancellable