EventInvokerRegistrar<T> typedef

EventInvokerRegistrar<T> = void Function(dynamic self, EventInvoker<T> invoker)

A callback callback. Allows an external source to pass in hook, so that the internal code can provide what execution is supposed to occur when that hook is fired.

Implementation

typedef EventInvokerRegistrar<T> = void Function(
    dynamic self, EventInvoker<T> invoker);