EventValidatorFunction<T> typedef

EventValidatorFunction<T> = bool Function(EventStream<T> eventStream, T event)

Implementation

typedef EventValidatorFunction<T> = bool Function(
  EventStream<T> eventStream,
  T event,
);