Promises not behaving deterministically, how can I debug #1025
-
So as far as I know above should deterministically print How can I figure out how to reproduce this simpler? How does core-js queue to react to promises in the next tick? It might also be a mistake on my side but I don't think so. One line calls a function and the next line calls the same function. That function only contains one |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The code of microtask implementation you could find here. The order is tested. Async functions come from the transpiler. Most likely it is an issue on your side, without a reproducible example, I can't say more. |
Beta Was this translation helpful? Give feedback.
The code of microtask implementation you could find here. The order is tested. Async functions come from the transpiler. Most likely it is an issue on your side, without a reproducible example, I can't say more.