executeWith5Args<T, Q, C, A, B, D> method
Future<T>
executeWith5Args<T, Q, C, A, B, D>(
- Task5<
T, Q, C, A, B, D> task, - Q argument,
- C argument2,
- A argument3,
- B argument4,
- D arguments5,
override
Executes given task
with given arguments in combine isolate.
This future may complete with:
- CombineWorkerClosedException if you close worker
with
waitForRemainingTasks
flag set tofalse
. - UnsupportedIsolateArgumentError if you send to/from isolate some unsupported object like ReceivePort.
- an original exception thrown by the
task
.
Implementation
@override
Future<T> executeWith5Args<T, Q, C, A, B, D>(
Task5<T, Q, C, A, B, D> task,
Q argument,
C argument2,
A argument3,
B argument4,
D arguments5,
) {
return _effectiveWorkerManager.execute(
TaskWith5Args(
task,
argument,
argument2,
argument3,
argument4,
arguments5,
),
);
}