bindLifecycle method
将future关联到lifecycle
Implementation
Future<T> bindLifecycle(ILifecycle registry, {bool throwWhenCancel = false}) {
return bindCancellable(registry.makeLiveCancellable(),
throwWhenCancel: throwWhenCancel);
}
将future关联到lifecycle
Future<T> bindLifecycle(ILifecycle registry, {bool throwWhenCancel = false}) {
return bindCancellable(registry.makeLiveCancellable(),
throwWhenCancel: throwWhenCancel);
}