AsyncAction<T, E> typedef

Future<T> AsyncAction (
  1. E e
)

An asynchronous callback that returns a value.

Implementation

typedef AsyncAction<T, E> = Future<T> Function(E e);