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 captureRejection option #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

goto-bus-stop
Copy link
Member

Comment on lines +132 to +136
var ProcessNextTick = typeof queueMicrotask === 'function'
? queueMicrotask
: typeof setImmediate === 'function'
? setImmediate
: setTimeout;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use process.nextTick instead so it has the same shared queue behaviour as in node.js. Would be a breaking change for webpack 5 users who might not be polyfilling the process global yet.

@goto-bus-stop goto-bus-stop marked this pull request as draft February 28, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant