executeWithArg<T, Q> abstract method
Executes given task
with given argument
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
Future<T> executeWithArg<T, Q>(Task1<T, Q> task, Q argument);