interface IConnectionManager {
    #private: any;
    addEventListener<K>(type, listener, options?): void;
    dispatchEvent(event): boolean;
    dropConnection(peerId): Promise<void>;
    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

    Generated using TypeDoc