BaseEffectNode class abstract

Base graph node for effects and effect scopes.

Extends ReactiveNode with CleanableNode so nested resources can register disposers. Subclasses include EffectNode and EffectScopeNode.

Inheritance
Mixed-in types
Implementers

Constructors

BaseEffectNode({required int flags})
Creates an effect-owned node with the supplied scheduling flags.

Properties

deps ↔ Link?
First dependency link in the chain.
getter/setter pairinherited
depsTail ↔ Link?
Last dependency link in the chain.
getter/setter pairinherited
flags int
Reactive flags for this node.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs ↔ Link?
First subscriber link in the chain.
getter/setter pairinherited
subsTail ↔ Link?
Last subscriber link in the chain.
getter/setter pairinherited

Methods

cleanup() → void
Runs all registered cleanup callbacks and clears the registry.
inherited
dispose() → void
Disposes this node, unlinks dependencies, and runs cleanup.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCleanup(Disposer cleanup) → void
Registers cleanup to run on the next cleanup or dispose.
inherited
toString() String
A string representation of this object.
inherited
unwatched() → void
Called when this node no longer has subscribers.
inherited
update() bool
Recomputes or refreshes this node when it is dirty.
inherited

Operators

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