Implementation Note: There should not be any default listeners for change events in a client implementation. Default listeners mean a client cannot determine when there are actual application developer provided listeners. If we require default listeners, then we should add a system to allow listeners which have counts independent of the primary listener counts.

Hierarchy

  • LDEmitter

Constructors

  • Parameters

    Returns LDEmitter

Properties

_invokeListener: any
_listeners: any
_logger?: any

Methods

  • Parameters

    Returns void

  • Returns string[]

  • Parameters

    Returns number

  • Unsubscribe one or all events.

    Parameters

    • name: LDEmitterEventName
    • Optional listener: Function

      Optional. If unspecified, all listeners for the event will be removed.

      Optional

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc