ZenSubscription class

Enhanced subscription with automatic cleanup and state tracking.

Deprecated: Unused legacy subscription wrapper from the removed ZenReactiveSystem. Use ZenWorker or controller.addDisposer() instead.

Annotations
  • @Deprecated('Unused legacy subscription wrapper. Use ZenWorker or controller.addDisposer() ' 'instead. Will be removed in v3.0.0.')

Constructors

ZenSubscription(VoidCallback _dispose)

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDisposed → bool
Check if subscription is disposed
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Close the subscription and clean up resources
dispose() → void
Dispose when not needed anymore (alias for close)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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