types/callback_type library

Typedefs

CallbackVoid = void Function(void)
A function type for void callbacks with no return value.
CallbackWithReturn<I, R> = R Function(I)
A function type for callbacks that accept an input and return a value.