LifecycleAwareBaseExt extension

on

Methods

autoStream<T>(LifecycleCallback<Stream<T>> stream, {bool cancelOnError = false}) Future
autoSubscribe(String name, LifecycleCallback<StreamSubscription> generate) Future
autoTimer(String name, LifecycleCallback<Timer> generate) → void
onDestroy(String name, LifecycleCallback destroy, {Duration? wait}) → void