• Adds a listener for the eventName event.

    Type Parameters

    Parameters

    • eventName: K

      The event name.

    • fn: ((...args) => void)

      The callback to execute.

    Returns void

Generated using TypeDoc