Type alias P2PDataHandler

P2PDataHandler: ((encodedMessage) => void)

Type declaration

    • (encodedMessage): void
    • Parameters

      • encodedMessage: Uint8Array

      Returns void

Argument

encodedMessage a complete message from the lower transport layer