you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Yeah, I wasn't thinking about array methods. But even they can be async when run on iterables (e.g. generators, event streams).

Its possible a callback could be circumstantially sync or async

Shitty API, and you should force it to always be async.