Heh, found a neat pattern today. To add an item to a stream after it's finished (useful when joining streams) you can use `.chain`: let s = s.chain(stream::once(1u8)); If you then run this through stream::join, you can ensure that each individual stream emits a msg on close
-
Show this thread
-
Replying to @yoshuawuyts
I can't wait until async-std gets more widely adopted and we get to do all this stuff in regular day to day everything
1 reply 1 retweet 7 likes
Replying to @zkat__ @maybekatz
Big same!
3:10 PM - 13 Oct 2019
from Berlin, Germany
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.