DescriptionHandle the case of Stream.take(0) better.
The current implementation listens to the stream and waits for it to complete.
The change makes it listen and then immediately cancel, and then return a
subscription that only sends done.
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/8cead4090cc0b1184a2ad552003ac38cae1e2c77
Committed: https://github.com/dart-lang/sdk/commit/9ebef9af7c7086a4e0f935b3ebd29aa4e990da91
Committed: https://github.com/dart-lang/sdk/commit/7bb7f5e6bb5c75471bb3f4f46a3eea0e1e3d1c36
Patch Set 1 #
Total comments: 3
Patch Set 2 : Address comments #Patch Set 3 : Fix typo. #Patch Set 4 : Update docs and co19 test expectations. #Patch Set 5 : Fix test expectation #Patch Set 6 : Update status for failing tests. #Messages
Total messages: 9 (4 generated)
|