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
Parameter | Type | Description |
---|---|---|
id | PeerId |
Returns:
void