Thank you for the code review, I fixed the things you mentioned.

Regarding the discussion of returning promises, should it be carried out in the Discussion part of this cookbook or should I just point to a general discussion of promises (in another cookbook or some section of the guide, I'm not sure if that exists already)