executeWith4Args<T, Q, C, A, B> method
Future<T>
executeWith4Args<T, Q, C, A, B>(
- Task4<
T, Q, C, A, B> task, - Q argument,
- C argument2,
- A argument3,
- B argument4,
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> executeWith4Args<T, Q, C, A, B>(
Task4<T, Q, C, A, B> task,
Q argument,
C argument2,
A argument3,
B argument4,
) {
return _effectiveWorkerManager.execute(
TaskWith4Args(task, argument, argument2, argument3, argument4),
);
}