News for hackers. Stuff that matters.
Re:Breaking Up with Long Tasks or: how I learned to group lo... by leeoniya on Tuesday January 07, 2025 @02:51PM (#42626601)
> of course it does.

i should clarify a bit, that this can still freeze your UI if foo() is expensive, since the microtask still runs on the same event loop. my point is that you cannot always throw async in front of a function and not change any other code.

There are no comments on this comment yet.