ComputeImpl typedef
The signature of compute, which spawns an isolate, runs callback
on
that isolate, passes it message
, and (eventually) returns the value
returned by callback
.
Implementation
typedef ComputeImpl =
Future<R> Function<M, R>(ComputeCallback<M, R> callback, M message, {String? debugLabel});