mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:47:13 +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> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md | ||
BUILD.gn |