Skip to content

resetChannels

resetChannels(): void

Defined in: packages/postal/src/channel.ts:769

Clears the channel registry and all RPC state. Primarily useful for test isolation.

Rejects pending RPC promises, tears down the system channel, regenerates the instance GUID, and re-initializes a fresh system channel.

void