logoalt Hacker News

lexicalityyesterday at 7:36 PM1 replyview on HN

Only for tasks that are created in synchronous code. If you start two tasks that each make a web request and then start a new task with the result of that request you will immediately lose ordering.


Replies

KraftyOneyesterday at 8:08 PM

Yes, this only applies for tasks created from the same (sync or async) function. If tasks are creating other tasks, anything is possible.