Callback<P, R> typedef

Callback<P, R> = R Function(P param)

A convenient callback function receiving a Param and Returning a value.

Implementation

typedef Callback<P, R> = R Function(P param);