getHandlersFor<TEvent> method

Set<EventHandler<TEvent>> getHandlersFor<TEvent>()

Returns all registered EventHandler's for TEvent.

Implementation

Set<EventHandler<TEvent>> getHandlersFor<TEvent>() {
  final handlers = _getHandlersFor<TEvent>();

  return UnmodifiableSetView(handlers);
}