Skip to content

Conversation

@ajivanyandev
Copy link
Contributor

No description provided.


// Run in both microtask and macrotask to avoid timing edge cases
queueMicrotask(checkAndDispose);
setTimeout(checkAndDispose, 0);

Choose a reason for hiding this comment

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

This sequence is pointless: the microtask will always run before any timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants