PosComputeCall<V> typedef

PosComputeCall<V> = FutureOr<V> Function(V? value, Object? error, StackTrace? stackTrace)

Callback invoked after a computation completes.

value is non-null on success. error and stackTrace are non-null on failure.

Implementation

typedef PosComputeCall<V> = FutureOr<V> Function(
    V? value, Object? error, StackTrace? stackTrace);