ComputeOnceCall<V> typedef

ComputeOnceCall<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 ComputeOnceCall<V> = FutureOr<V> Function();