Type alias P2PMessageHandler

P2PMessageHandler: ((message: NetMessage) => void)

Type declaration

    • (message: NetMessage): void
    • Argument

      message a decoded message from the lower transport layer

      Parameters

      Returns void

Generated using TypeDoc