mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:55:08 +00:00
6f5a23f150
Mention error zones in the docs for `runZoned`. We expect most of these use cases to be handled by `runZonedGuarded`, but specifying an error handler on the `ZoneSpecification` can still trigger this behavior. Expand the phrasing from mentioning that some futures might not complete to describe the specific reason - errors cannot cross zone boundaries with different error zones, so specifically Futures which complete as errors are at risk of not completing in the parent zone. R=lrn@google.com CoreLibraryReviewExempt: Doc changes only. Change-Id: I8759dfb6da48463e0bb33a000943d60a4dd3d5ab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348043 Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Nate Bosch <nbosch@google.com> |
||
---|---|---|
.. | ||
async.dart | ||
async_error.dart | ||
async_sources.gni | ||
broadcast_stream_controller.dart | ||
deferred_load.dart | ||
future.dart | ||
future_extensions.dart | ||
future_impl.dart | ||
schedule_microtask.dart | ||
stream.dart | ||
stream_controller.dart | ||
stream_impl.dart | ||
stream_pipe.dart | ||
stream_transformers.dart | ||
timer.dart | ||
zone.dart |