Tokio I/O futures
Dodgy Coding | 12 views | 2019-07-07
Experiments with tokio’s lines() function, fold(), and a custom multi-stage future with inner futures and the try_ready macro. With this episode, we are now up to four sub-optimal ways to count the number of lines in a file.