Node.js SDK - Peer.purge()

Home > rainway-sdk-native > Peer > purge

Peer.purge() method

Remove a given peer from the cache. You should not need to call this unless you want to force a refresh of peer information.

Signature:

static purge(id: PeerId): void;

Parameters

ParameterTypeDescription
idPeerId

Returns:

void