executeWith3Args<T, Q, C, A> method
Future<T>
executeWith3Args<T, Q, C, A>(
- Task3<
T, Q, C, A> task, - Q argument,
- C argument2,
- A argument3,
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> executeWith3Args<T, Q, C, A>(
Task3<T, Q, C, A> task,
Q argument,
C argument2,
A argument3,
) {
return _effectiveWorkerManager.execute(
TaskWith3Args(task, argument, argument2, argument3),
);
}