cancelable_compute library

Classes

ComputeOperation<R>
compute cancellable operation interface.

Constants

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

Typedefs

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