bloc_dispose_scope library

Classes

Disposable
An object that can be disposed.
DisposeScope
Groups many Disposes together and allows for disposing of all of them at once.

Extensions

BlocBaseDisposed on BlocBase<State>
ConnectionTaskDisposed on ConnectionTask
Extends ConnectionTask to work with DisposeScope.
DisposeScopeDisposed on DisposeScope
Extends DisposeScope with disposing capabilities.
ProcessDisposed on Process
Extends Process to work with DisposeScope.
SinkDisposed on Sink
Extends Sink to work with DisposeScope.
StreamSubscriptionDisposed on StreamSubscription
Extends StreamSubscription to work with DisposeScope.
TimerDisposed on Timer
Extends Timer to work with DisposeScope.

Typedefs

Dispose = FutureOr<void> Function()
Function which does disposing when called.