EventHandler<T extends VyuhEvent> constructor

const EventHandler<T extends VyuhEvent>(
  1. VyuhEventListener<T> listener
)

Creates a handler for events of type T.

Implementation

const EventHandler(this.listener);