StreamLifecycleExt<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
bindLifecycle(
ILifecycle lifecycle, {LifecycleState state = LifecycleState.started, bool repeatLastOnRestart = false, bool closeWhenCancel = false, bool? cancelOnError}) → Stream< T> -
Available on Stream<
将Stream关联到lifecycleT> , provided by the StreamLifecycleExt extensionrepeatLastOnRestart
是指当从新进入到状态时,是否发射之前的数据