New post: Streams Concurrency
In this post we talk about concurrency, apply it to streams, and explore future directions. Illustrated by @_lrlna.
https://blog.yoshuawuyts.com/streams-concurrency/ …pic.twitter.com/jJK78W2wOs
U tweetove putem weba ili aplikacija drugih proizvođača možete dodati podatke o lokaciji, kao što su grad ili točna lokacija. Povijest lokacija tweetova uvijek možete izbrisati. Saznajte više
Did you catch the gist I linked? https://gist.github.com/yoshuawuyts/182721650d1858ea25f7590ac0384d8d … 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.
Hah, sorry. That was the "this sketch" link I saw and forgot to go check, of course it was. I was actually talking about "without calling .await on each JoinHandle".. passing the JoinHandles over a stream to another task that awaits them, perhaps via merge?
Oh yeah, I guess that's another option. Feels quite similar to how FuturesUnordered works. I think I like it slightly less because it feels like we'd have to do more bookkeeping. But possibly it's more efficient. Unsure!
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.