Hierarchy

Constructors

Properties

sendEvent: undefined | (<E>(event: E, data: LogEvent[E]) => void) = undefined

Optionally expose the emit functionality outside the implementor

subscriptions: Subscription<LogEvent> = {}

Methods

  • Register an event and pass a callback

    Returns

    Void|Function , Void if the handler is already registered or Function if the handler is registered

    Type Parameters

    • E extends "log"

    Parameters

    Returns (() => void)

      • (): void
      • Register an event and pass a callback

        Returns

        Void|Function , Void if the handler is already registered or Function if the handler is registered

        Returns void

Generated using TypeDoc