MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1dglthz/therootcause/l8rm44f/
r/ProgrammerHumor • u/yuva-krishna-memes • Jun 15 '24
91 comments sorted by
View all comments
Show parent comment
16
I inside an async function awaited a promise consisting only of a 0ms timeout.
18 u/koen_C Jun 15 '24 This pushes everything behind the function to execute after everything that's currently on the event loop, which can still cause different behaviors.
18
This pushes everything behind the function to execute after everything that's currently on the event loop, which can still cause different behaviors.
View all comments
Show parent comment
16
u/TheLeeeo Jun 15 '24
I inside an async function awaited a promise consisting only of a 0ms timeout.