diff options
| author | Yuval Adam <_@yuv.al> | 2022-07-05 13:16:44 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-07-05 13:16:44 +0300 |
| commit | b968f5d67e49fdc754ab76640cd0bbd15d12d701 (patch) | |
| tree | 5981600343aab3f041e913b4989e64b2eee38fd2 | |
| parent | 92495fc1960963786c8dba7fa7bc021714a39670 (diff) | |
Add some notes
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1 +1,14 @@ # Rust async playground + +## Notes + +Research started in 2019 - https://users.rust-lang.org/t/designing-an-async-flow-of-data/29148 and got pointed to `Stream` and `Sink` which are the appropriate abstractions for async *iteration*. + +They weren't stable at the time, but seem to be maturing in the `futures` crate: + +https://docs.rs/futures/0.3.6/futures/sink/trait.Sink.html + +https://docs.rs/futures/0.3.6/futures/stream/trait.Stream.html + +This is the relevant chapter in the Rust Async Book - https://rust-lang.github.io/async-book/05_streams/02_iteration_and_concurrency.html + |
