Go Dormant • AI Agent SDK

go_dormant: Pause inbound dispatch without dropping the connection.

go_dormant

Async

Method

</div>

This is a method of the RelayTransport class in the protocols module.

Pause inbound dispatch without dropping the connection.

The connector keeps the platform socket open and buffers inbound events while the gateway is dormant (scale-to-zero), so they can be drained losslessly on wake.

Signature

python
async def go_dormant() -> None

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6684