Constructors

Properties

provider: P2PProvider
__className: string = 'P2PClient'

Methods

  • Type Parameters

    • T extends keyof P2PClientEventMap

    Parameters

    • event: T
    • handler: P2PClientEventMap[T]

    Returns this

  • Parameters

    • Optional err: Error

    Returns void

  • Type Parameters

    • T extends keyof P2PClientEventMap

    Parameters

    • event: T
    • handler: P2PClientEventMap[T]

    Returns this

  • Type Parameters

    • T extends keyof P2PClientEventMap

    Parameters

    • event: T
    • handler: P2PClientEventMap[T]

    Returns this

  • Type Parameters

    • T extends keyof P2PClientEventMap

    Parameters

    • event: T
    • handler: P2PClientEventMap[T]

    Returns this

  • Type Parameters

    • T extends keyof P2PClientEventMap

    Parameters

    • event: T
    • handler: P2PClientEventMap[T]

    Returns this