StreamLifecycleExt<T> extension

on

Methods

bindLifecycle(ILifecycle lifecycle, {LifecycleState state = LifecycleState.created, bool repeatLastOnRestart = false, bool repeatLastOnStateAtLeast = false, bool closeWhenCancel = false, bool? cancelOnError}) Stream<T>

Available on Stream<T>, provided by the StreamLifecycleExt extension

将Stream关联到lifecycle