Interface IConnectionManager

interface IConnectionManager {
    #private: any;
    addEventListener<K>(type, listener, options?): void;
    dispatchEvent(event): boolean;
    getPeersByDiscovery(): Promise<PeersByDiscoveryResult>;
    listenerCount(type): number;
    removeEventListener<K>(type, listener?, options?): void;
    safeDispatchEvent<Detail>(type, detail?): boolean;
    stop(): void;
}

Hierarchy

Implemented by

Properties

#private: any

Methods

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    • event: Event

    Returns boolean

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    Parameters

    Returns void

  • Type Parameters

    • Detail

    Parameters

    Returns boolean

  • Returns void

Generated using TypeDoc