ComputeCall<V> typedef

ComputeCall<V> = FutureOr<V> Function()

Signature for a computation executed by ComputeOnce.

The callback may return a value synchronously or a Future that completes with the value V or an error.

Implementation

typedef ComputeCall<V> = FutureOr<V> Function();