runInEncodingIsolate<Q, R> method
On web, runs the task synchronously on the main thread
Implementation
Future<R> runInEncodingIsolate<Q, R>(
R Function(Q) task,
Q argument,
) async {
await ready;
return task(argument);
}
On web, runs the task synchronously on the main thread
Future<R> runInEncodingIsolate<Q, R>(
R Function(Q) task,
Q argument,
) async {
await ready;
return task(argument);
}