Skip to content
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

Add window.queueMicrotask #2844

Merged
merged 2 commits into from Aug 31, 2019

Conversation

@kevinkassimo
Copy link
Contributor

commented Aug 31, 2019

Added window.queueMicrotask to allow direct push of code to microtask queue (and therefore no need to create Promise objects).

https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask

@ry
ry approved these changes Aug 31, 2019
Copy link
Collaborator

left a comment

Cool - LGTM

I wonder if we can use this inside of dispatch_minimal.ts to improve perf...

@ry ry merged commit fdd4252 into denoland:master Aug 31, 2019

3 checks passed

Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.