Twitter | Pretraživanje | |
yosh
New post: Streams Concurrency In this post we talk about concurrency, apply it to streams, and explore future directions. Illustrated by .
Reply Retweet Označi sa "sviđa mi se" More
yosh 23. pro
Odgovor korisniku/ci @rustlang @ThisWeekInRust @read_rust
Reply Retweet Označi sa "sviđa mi se"
Daniel Carosone ⬡ 🇸🇪 🇮🇹 🇦🇺 23. pro
Odgovor korisniku/ci @yoshuawuyts @_lrlna
Nice. For the "returning errors out of scopes" problem, could you feed each JoinHandle into a channel for a separate task to collect? Sure, a (tokio-ish) stream map takes your example even further away from the sync case, but channels can show pipeline logic to error handling
Reply Retweet Označi sa "sviđa mi se"
yosh 23. pro
Odgovor korisniku/ci @redtwitdown
Did you catch the gist I linked? I think this gets us pretty close already — was this what you had in mind? Next step I'd like is to make this take the ParallelStream shape.
Reply Retweet Označi sa "sviđa mi se"
Peter of the Island of Ducks 29. pro
Odgovor korisniku/ci @yoshuawuyts @_lrlna
Thank you for doing this work. Your posts save me time and frustration.
Reply Retweet Označi sa "sviđa mi se"