dart-sdk/sdk/lib/async
Nate Bosch 6f5a23f150 Expand docs around error zones
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>
2024-02-29 01:49:08 +00:00
..
async.dart Add record-related wait extensions on Future tuples. 2023-04-04 11:39:49 +00:00
async_error.dart Add class modifiers to dart:async. 2023-03-20 12:12:46 +00:00
async_sources.gni Add record-related wait extensions on Future tuples. 2023-04-04 11:39:49 +00:00
broadcast_stream_controller.dart feat: add missing generic type to Stream.close 2024-01-15 17:00:43 +00:00
deferred_load.dart Add class modifiers to dart:async. 2023-03-20 12:12:46 +00:00
future.dart Avoid type checks in Future.wait 2024-02-13 16:07:12 +00:00
future_extensions.dart Add more information to ParalleWaitError.toString. 2024-02-28 20:36:58 +00:00
future_impl.dart Forwards ignore bit to chained-to _Future. 2024-02-21 13:05:56 +00:00
schedule_microtask.dart
stream.dart [doc/async] Change Stream.asyncMap doc according to the current behavior 2023-12-12 11:10:55 +00:00
stream_controller.dart [vm] Improve asynchronous unwinding through Stream methods 2024-02-15 23:00:44 +00:00
stream_impl.dart [vm] Improve asynchronous unwinding through Stream methods 2024-02-15 23:00:44 +00:00
stream_pipe.dart
stream_transformers.dart
timer.dart [doc/async] Remove excessive statement from Timer.periodic() documentation 2024-01-09 09:10:44 +00:00
zone.dart Expand docs around error zones 2024-02-29 01:49:08 +00:00