mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 10:48:25 +00:00
2aed87a133
Adds a top-level call waitForEventSync to dart:io that blocks the thread an Isolate is running on until messages are available. Before the thread blocks, the microtask queue is drained. Before waitForEventSync returns, all messages are handled. Lifting this up from a comment: This is apropos of the request that nweiz@ sent to the mailing list a couple weeks back. I'm not sure we should land this. We certainly shouldn't land it without some annotations that will make the analyzer complain a lot in most configurations, but I don't know what those annotations are. Change-Id: If8286f4525994a162dd4f4563fefccb9d0984f7c Reviewed-on: https://dart-review.googlesource.com/25281 Commit-Queue: Zach Anderson <zra@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> |
||
---|---|---|
build | ||
client | ||
docs | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Building Dart
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.