Class Endpoint

Hierarchy

Constructors

Properties

_listeners: { attached?: EventListener<{ args: [string] }>[]; canceling?: EventListener<{ args: [] }>[]; closed?: EventListener<{ args: [] }>[]; connected?: EventListener<{ args: [] }>[]; established?: EventListener<{ args: [] }>[]; failed?: EventListener<{ args: [] }>[]; pcChanged?: EventListener<{ args: [PeerConnection] }>[]; pending?: EventListener<{ args: [] }>[]; releasing?: EventListener<{ args: [] }>[] } = {}

Type declaration

id?: string
off: (<K>(type: K, callback: EventListener<EndpointEventMap[K]>) => void) = ...

Type declaration

on: (<K>(type: K, callback: EventListener<EndpointEventMap[K]>) => (() => void)) = ...

Type declaration

tmpId: string = ...

Accessors

Methods

  • Parameters

    • to: string

    Returns void

  • Returns void

  • Returns void

Generated using TypeDoc