Node.js SDK - OnPeerStateChange

Home > rainway-sdk-native > OnPeerStateChange

OnPeerStateChange type

Signature:

export declare type OnPeerStateChange = (rt: Runtime, peer: PeerId, state: RainwayPeerState) => void;

References: Runtime, PeerId, RainwayPeerState