Node.js SDK - OnPeerDataChannel

Home > rainway-sdk-native > OnPeerDataChannel

OnPeerDataChannel type

Signature:

export declare type OnPeerDataChannel = (rt: Runtime, peer: PeerId, channel: string, mode: RainwayChannelMode) => void;

References: Runtime, PeerId, RainwayChannelMode