ValueCallback<T> typedef
ValueCallback<T> =
void Function(T v)
A callback with argument v
of type T
.
Intended to listen to events emitted by Emitter.
Implementation
typedef void ValueCallback<T>(T v);