isolates library
Functions
-
compute<
Q, R> (ComputeCallback< Q, R> callback, Q message) → Future<R> -
Spawns an isolate, runs
callbackon that isolate, passes itmessage, and (eventually) returns the value returned bycallback.
Typedefs
-
ComputeCallback<
Q, R> = FutureOr< R> Function(Q message) - Signature for the callback passed to compute.