| commit | a8d719c87ff167fba3dd01e00be95886e5078ba2 | [log] [tgz] |
|---|---|---|
| author | Lasse R.H. Nielsen <lrn@google.com> | Tue Aug 03 19:20:17 2021 +0200 |
| committer | GitHub <noreply@github.com> | Tue Aug 03 10:20:17 2021 -0700 |
| tree | 4d6b1f7e19067c6f8f50c1b647e8e5e30ac51b9e | |
| parent | fbeb8df59ff12d3232d7910d75a2dec23f69e44e [diff] |
Wait for cancel before next listen in switchLatest (dart-lang/stream_transform#137) If a stream is performing resource cleanup on cancel it may be a problem to listen to the next stream and start consuming resources before the cleanup is done. Propagate errors during the cancel to the result stream.