Node.js SDK - OnPeerMessage

Home > rainway-sdk-native > OnPeerMessage

OnPeerMessage type

Signature:

export declare type OnPeerMessage = (rt: Runtime, peer: PeerId, channel: string, msg: Uint8Array) => void;

References: Runtime, PeerId