Erik Bray
Erik Bray
Jul 10, 2017 · 1 min read

I think it’s confusing to describe things as “request *returns* a callback function”. It doesn’t. It returns a Request object on which various methods can be called. It’s passed the callback which is called upon completion (successfully or otherwise) of the request.

I know you know this but I think it’s helpful to beginners to be clearer about what’s actually going on.

    Erik Bray

    Written by

    Erik Bray