Think the signature would be something like: fn join<U>(self, other: U) -> Join<Self, <U as IntoIterator>::IntoIter> where U: IntoIterator, <U as IntoIterator>::Item: Self::Item; (sorry about the formatting; twitter isn't great for this).
-
-
Show this thread
-
Oh snap; what if we had `iter::join`, and we could join n streams to output out of order? Could apply the same semantics for a `try_stream` variant too!?
Show this thread
End of conversation
New conversation -
-
-
Iterator return values has no NotReady state, so I am not sure what this would do?
-
You're spot on actually; the latter would only ever apply to streams. I've kind of been thinking of the two as the same thing mostly, but I think you're right and this is actually a point where they diverge!
End of conversation
New conversation -
-
-
In the generic case, on what basis do specify some kind of order? Or is this in relation to async stuff too?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.