Making a leaf future for tokio

16 views   |   14:55   |   2019-06-30   |   0 likes / 0 dislikes

Watch video in Scitech.video Open in new tab

Dodgy Coding

Hosted on Scitech.video

I play around with a standalone future to see how the tokio executor’s polling works in practice. I then adapt a callback-based API to work with futures, including a full implementation of a leaf future that transitions from NotReady to Ready.

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