receive • Rust AI Agent SDK
receive: Receive an event from the client.
receive
Async
Method
</div>
This is a method of the GatewayClientProtocol class in the gateway module.
Receive an event from the client.
Signature
async def receive(&self) -> Result<GatewayEvent>