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
Stream transform not respecting isBroadcast parameter #36965
Comments
The problem is with the bind Function call, when using fromHandlers, bind returns a _BoundSinkStream |
Correct, the This doesn't change whether you can listen more than once or not. In practice, the |
Correct at it being just a hint, except at our rxdart lib, we sometimes treat incoming Streams differently based off this parameter, causing unexpected behavior. |
Any updates regarding this issue? This is causing some annoying side effects with RxDart currently |
The There are no other changes planned. |
Sorry if this is a dumb question, buf if it has been fixed 3 months ago (may/19) why it still causing problems on current stream transformers? |
I'm also having problems with this, I performed a transformation and then an external API request in a stream, and the request was redone for each stream listener. |
It should definitely have been released by now. |
(dart 2.2.0)
Below is a test which transforms a broadcast Stream using 2 different methods, one using StreamTransformer.fromHandlers, the other using an extended StreamTransformer class:
I would expect transform to always return a new Stream which is the same as the original Stream regarding broadcast, or not.
The text was updated successfully, but these errors were encountered: