Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| ★ wanayoo — archive 1999 https://github.com/feross/queue-microtask/issues/9 | Nouvelle recherche | Portail wanayoo |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
I realize that this would be a deviation from the standard, but any interest in accepting arguments to be passed to the callback? For example...
queueMicrotask(myFunction, something) // Calls myFunction(something) as a microtaskThis functionality is available with setTimeout/setImmediate and can help make code more readable.
I'm happy to submit a PR, just let me know.