RunAsyncCallback<T> typedef

RunAsyncCallback<T> = Future<T?> Function(Future<T> callback())

Signature of runAsync method.

Implementation

typedef RunAsyncCallback<T> = Future<T?> Function(
  Future<T> Function() callback,
);