It happens you have to wait for a stream to end, while you don't care for the actual elements. You just need to continue polling it for side-effects.
I really felt into_future sounds great for that, but it seems it does more or less the same as next instead.
Looking through all of the methods on StreamExt, I can't find anything that does this elegantly. Even this won't work because of type inference problems: stream.skip_while( |_| true.into() ).
So am I stuck with: async move { while let Some(_) = stream.next().await {} }; .
Is there a more elegant way to write this?
Why do we have the into_future one if we can use next?