compute library Null safety

Classes

ComputeOperation<R>
compute cancellable operation.

Constants

compute → const Compute
Runs a function with a given argument in isolate, and returns an operation that can be canceled.
implementation.compute

Typedefs

Compute = ComputeOperation<R> Function<Q, R>(ComputeCallback<Q, R> callback, Q message)
compute signature.
ComputeCallback<Q, R> = FutureOr<R> Function(Q message)
Signature for the callback passed to compute.