Current task scheduler does not guarantee order
Closed this issue · 3 comments
RubenVerborgh commented
The snippet at
AsyncIterator/taskscheduler.ts
Lines 13 to 21 in 668697c
setTimeout
has occurred.RubenVerborgh commented
@rubensworks Could you test if https://github.com/RubenVerborgh/AsyncIterator/tree/fix/task-order does not break anything? This should be the final guard before #29 can be released. (It's weird that we have not run into out-of-order bugs yet.)
rubensworks commented
Everything seems to work fine! (aside for #30 that is)
RubenVerborgh commented
Thank you!