ParallelRes5<A extends Object, B extends Object, C extends Object, D extends Object, F extends Object, E extends Object> class
final
Runs five AsyncRes recipes concurrently and combines their results into a typed record.
On run, all recipes start together. If all produce Ok,
the result is Ok<(A, B, C, D, F)>. If any recipe produces Err,
the result is the first Err by parameter order.
No work happens until run is called. Each call to run re-executes all recipes — there is no hidden caching.
Exceptions thrown by recipes propagate; this class does not catch, retry, or convert thrown errors.
- Annotations
-
- @experimental
Constructors
Properties
-
a
→ AsyncRes<
A, E> -
The first recipe.
final
-
b
→ AsyncRes<
B, E> -
The second recipe.
final
-
c
→ AsyncRes<
C, E> -
The third recipe.
final
-
d
→ AsyncRes<
D, E> -
The fourth recipe.
final
-
e
→ AsyncRes<
F, E> -
The fifth recipe.
final
- 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
-
run(
) → ResultAsync< (A, B, C, D, F), E> - Runs all recipes concurrently and combines results into a typed record.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited