diff options
| author | Anthony Grondin <[email protected]> | 2024-09-23 16:30:14 -0400 |
|---|---|---|
| committer | Anthony Grondin <[email protected]> | 2024-09-24 22:01:49 -0400 |
| commit | ae5b78b27a9c644850c905c197e216a6cd2ab0b9 (patch) | |
| tree | bcffa90d4041274e4288df28a45bb43b66cdebf7 /docs/examples | |
| parent | 0ede8479dc4c6a58cfab0a5d4df41c0592405971 (diff) | |
feat(embassy-net): Implement `wait_recv_ready()` + `wait_send_ready()` for UdpSocket
- Provides `pub async fn wait_recv_ready(&self) -> ()` and `pub fn poll_recv_ready(&self, cx: &mut Context<'_>) -> Poll<()>`.
This allows polling / waiting on a socket until it can be read, without dequeuing any packets.
- Provides `pub async fn wait_send_ready(&self) -> ()` and `pub fn poll_send_ready(&self, cx: &mut Context<'_> -> Poll<()>`
This allows polling / waiting on a socket until it becomes writable.
Diffstat (limited to 'docs/examples')
0 files changed, 0 insertions, 0 deletions
