In this episode, we’ll talk about controlling our agents. We start with the message_generator, implement a QUIT message, and the second is a pattern to send a Health message, and receive a HealthResponse our AsyncIO agent using oneshot channels. We also explain the famous “question mark” macro, what is exactly is and how it fits in the enclosing function.
https://github.com/boymaas/rust-agents
Download
0 formats
No download links available.
Rust Tokio Agents #3 Messaging using oneshot #rust #rustlng #livecoding #tokio #programming #coding | NatokHD