DisposableOwner class

just title alias for CompositeDisposable for backward compatibility

Inheritance
Available Extensions

Constructors

DisposableOwner({DisposeOrder disposeOrder = DisposeOrder.lifo, bool catchExceptions = true, DisposableExceptionCallback? disposableExceptionCallback = printDisposableErrorToConsole})
Default constructor disposeOrder = DisposeOrder.lifo, [catchExceptions} = true, disposableExceptionCallback = printDisposableErrorToConsole,

Properties

catchExceptions bool
is need to try/catch each item dispose() call
finalinherited
disposableExceptionCallback DisposableExceptionCallback?
callback which executes on error catch during dispose catchExceptions should be enabled
finalinherited
disposables List<IDisposable>
Unmodifiable List of disposables to dispose
no setterinherited
disposeOrder DisposeOrder
Dispose Order: LIFO(preferable), FIFO, Parallel
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
is dispose was already called
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDisposable(IDisposable disposable) → void
add single disposables see also addDisposables
inherited
addDisposables(Iterable<IDisposable> disposables) → void
add several disposables see also addDisposable
inherited
dispose() Future<void>
free resources. Do nothing if isDisposed already true
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performDispose() Future<void>
actually dispose resources called in dispose() after isDisposed check
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited