We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coming from Iterators I was hoping there would be a way to endlessly loop a Stream, like you can cycle an Iterator; there isn't.
Iterator
Stream
cycle
Should such a method exist in StreamExt? Is there a way to work around this?
StreamExt
The text was updated successfully, but these errors were encountered:
async-std has Stream::cycle, and they are compatible because async-std's Stream is simply a reexport of this crate...
async-std
Stream::cycle
Sorry, something went wrong.
Note that async-std's StreamExt::cycle is unsound: async-rs/async-std#903
StreamExt::cycle
Successfully merging a pull request may close this issue.
Coming from
Iterator
s I was hoping there would be a way to endlessly loop aStream
, like you cancycle
anIterator
; there isn't.Should such a method exist in
StreamExt
? Is there a way to work around this?The text was updated successfully, but these errors were encountered: