addSubscription<T> method
添加订阅到 dispose bag
Implementation
StreamSubscription<T> addSubscription<T>(StreamSubscription<T> subscription) {
_checkDisposed();
_subscriptionBag.add(subscription);
return subscription;
}
添加订阅到 dispose bag
StreamSubscription<T> addSubscription<T>(StreamSubscription<T> subscription) {
_checkDisposed();
_subscriptionBag.add(subscription);
return subscription;
}