Call `tap` data callback once per event (dart-lang/stream_transform#26)
This is slightly different from the other bugs. In this case the output
stream correctly forwarded values to all listeners, but the callback was
also called once per listener.
- Add `handleError` to `fromHandlers` and tests.
- Add tests for expected single-call behavior. These fail on the old
implementation.
- Add test for the values getting to multiple listeners. This passes on
both the old and new implementation.
- Switch to `fromHandlers`.
5 files changed
tree: d63ab54fef3e1040e885ec7a5babbf98b85479f3
- pkgs/