EventFilter<T> typedef

EventFilter<T> = bool Function(T event)

An event filter that filters out events.

If this function returns false, the function will be called, otherwise it will not be called.

Implementation

typedef EventFilter<T> = bool Function(T event);