-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
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
BUG: non-broadcast Stream cannot be listened more than once when asyncMap is used #718
Comments
Use Rx.defer(() => ..., reusable: true) |
Hmm, I could have easily wrapped it inside a function too: which works relatively similar to defer (expect it doesn't wait on subscription to create the stream). That's not very relevant though. The question is, is it correct that using |
Because |
|
I see your point. To me it still feels like unexpected behaviour. Wondering if it's worth trying to ask the people working on dart streams to expose some way of identifying |
I attached a code snippet that crashes:
Crash logs:
Expected behaviour:
A new stream should be created, and listened to.
The text was updated successfully, but these errors were encountered: