OpenVidu Browser - v2.32.2
    Preparing search index...

    Class EventDispatcherAbstract

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Removes a handler from event type. If no handler is provided, all handlers will be removed from the event

      Type Parameters

      • K extends never

      Parameters

      • type: K
      • Optionalhandler: (event: EventMap[K]) => void

      Returns this

      The object that dispatched the event

    • Adds function handler to handle event type

      Type Parameters

      • K extends never

      Parameters

      Returns this

      The EventDispatcher object

    • Adds function handler to handle event type just once. The handler will be automatically removed after first execution

      Type Parameters

      • K extends never

      Parameters

      Returns this

      The object that dispatched the event