EffectScheduler class abstract interface

Interface for effects that provide custom scheduling behavior.

Effects implementing this interface can customize how they are scheduled when their dependencies change, instead of being queued for immediate execution.

Example:

class CustomScheduledEffect extends EffectReactiveNode implements EffectScheduler {
  @override
  bool schedule() {
    // Custom scheduling logic
    return true; // Custom scheduling handled
  }
}
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schedule() bool
Schedules this effect for execution using a custom scheduling strategy.
toString() String
A string representation of this object.
inherited

Operators

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