cancelable_compute library

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.

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.