JSequentialIntentDispatcher class

Dispatcher for handling intents sequentially, ensuring that each intent is processed one at a time in the order they are received. Pending tasks can be cancelled per controller without interrupting the running task or changing the order of tasks belonging to other controllers.

Implemented types

Constructors

JSequentialIntentDispatcher()

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

cancelPending(JController<JState> controller) → void
override
dispatch<T extends JState>(JIntent<T> intent, JController<T> controller) → Future<void>
Dispatches the given intent to the provided controller.
override
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