Async/await server pt.4 - timeouts

8 views   |   07:30   |   2020-03-21   |   0 likes / 0 dislikes

Watch video in Scitech.video Open in new tab

Dodgy Coding

Hosted on Scitech.video

A gentle exploration of building a identd for Linux using async/await and tokio 0.2. This part demonstrates halting an await after a configurable time limit, both using tokio's timeout() helper and with the select! macro from the futures crate.

Language English
Category Science & Technology
Licence Attribution - Share Alike
NSFW SFW