Hacker News new | ask | show | jobs
by weiming 2502 days ago
A future is a one-shot generator, give or take.

Good reading list at the bottom of https://areweasyncyet.rs, starting with this post that uses generators as an example: https://boats.gitlab.io/blog/post/2018-01-25-async-i-self-re...