mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:19:49 +00:00
f7e0859415
Bug: https://github.com/dart-lang/sdk/issues/41653 Since StreamSubscription.cancel now returns a non-nullable Future, EventStreamSubscription.cancel checks for strong mode and returns null in weak mode and a void future in strong mode. This preserves synchronous behavior in weak mode. Change-Id: Ifc7a6b565e99061d30e42a005bdd5fc3578b0e91 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/146680 Reviewed-by: Leaf Petersen <leafp@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> |
||
---|---|---|
.. | ||
docs | ||
idl/dart | ||
new_scripts | ||
nnbd_src | ||
scripts | ||
src | ||
templates | ||
.gitignore | ||
dom.json | ||
dom.py | ||
PRESUBMIT.py |