Join class

Creates an Effect description that instructs the middleware to wait for the result of a previously forked tasks.

  • tasks is a dictionary of tasks that each member is returned by a previous Fork.

Join effect returns a JoinResult. It contains each Tasks return value.

Notes

Join will resolve to the same outcome of the joined task (success or error). If the joined task is cancelled, the cancellation will also propagate to the Saga executing the join effect. Similarly, any potential callers of those joiners will be cancelled as well.

Inheritance

Constructors

Join(Map<dynamic, Task> tasks, {JoinResult? result})
Creates an instance of a Join effect.

Properties

hashCode int
The hash code for this object.
no setterinherited
result Result?
Result after effect is resolved.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tasks Map<dynamic, Task>
A dictionary of tasks that each is returned by a previous fork.
final

Methods

getDefinition() Map<String, dynamic>
Returns all properties of effect as a dictionary object
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