EitherCallback<V> typedef

EitherCallback<V> = void Function(V value)

A callback that has a right or left value argument and returns nothing.

Implementation

typedef EitherCallback<V> = void Function(V value);