Open mariusa opened 5 years ago
Hi,
I don't know if it relevant since async/await
is specific to ES6 and not specific to request-promise.
What do you think about this ?
Hi Franck,
Looks like async/await is the best-practice to use JS calls going forward. It would ease the adoption of request-promise to have a clear example with this method.
Thanks for considering.
Completely agree with you, even if switching from promises
to async/await
is not painful.
I can add an example ASAP and make a PR :)
Would you please add an example to README on how to use request-promise with await ?
Thanks