WhenCallback<T, V> typedef

WhenCallback<T, V> = T Function(V value)

A callback that takes a right or left value argument and returns the async result of a function.

Implementation

typedef WhenCallback<T, V> = T Function(V value);