Promises don't work well for library internals; they're external API only. Async* style methods cannot be replaced, so what's the point?
@a0viedo I use assert to validate function arg types; type mismatch should never happen; swallowing those is harmful
-
-
@yoshuawuyts even after type checking, you have to ensure the callback parameter is only called once, e.g https://www.npmjs.com/package/once -
@a0viedo eh, I don't run into problems with that - 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.