Expand description
Ready-made dispatch loop for wire conversations. Ready-made dispatch loop for wire protocol conversations.
process_messages runs an async loop that reads incoming messages,
parses them, and delegates to a user-provided handler. Timeouts and
parse errors are handled internally so the caller only has to implement
business logic.
Structs§
- Wire
Response - A response to be sent back to the agent.
Functions§
- process_
messages - Process wire messages in a loop, handling events and requests.