-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document microtasks #2142
Comments
DONE |
I've just discovered an internal resource that seems helpful: go/dart-await. It refers to this DartPad and this article. |
There's a new concurrency page, but it doesn't cover microtasks: https://dart.dev/guides/language/concurrency |
Hi @kwalrath , searching "dart event loop" on Google, the first result is https://dart.cn/articles/archive/event-loop, which is the same as the archive URL you mentioned above. While waiting for someone to create an updated doc, I'm curious if you know whether these points in the old doc are still true:
|
@lrhn Would you be able to provide some input on @terryl1900's questions? We could also use your responses as guidelines when creating any new documentation around this. Thanks :) |
I believe the mentioned bugs in the article have been fixed - when running the examples they now show in the expected order (which is a bit different from what was 'then' true) - right now we are missing a good writeup on the event loop, it's also difficult to find the implementation in C, which is something I was trying to get to (the JS event loop is quite easy to find) |
With the disappearance of the out-of-date article "The Event Loop and Dart", we no longer have any doc on dart.dev for microtasks. Microtasks are mentioned in /articles/archive/zones, but that article, too, is out of date.
The scheduleMicrotask API docs point to the old event loop article (/articles/event-loop, which is forwarded to the Medium article made from Andrew's event loop video). It'd be good to have actual coverage of the event loop and microtasks somewhere on dart.dev, and to redirect /articles/event-loop to that coverage.
The text was updated successfully, but these errors were encountered: