Consume<T> typedef

Consume<T> = void Function(T value)

An operation that accepts a single argument and returns nothing.

Implementation

typedef Consume<T> = void Function(T value);