Use Promise.promisify instead of Promise.promisifyAll
JasonPierce opened this issue · 0 comments
JasonPierce commented
This is an optimization, and is not applicable to all scenarios. This applies to any scenario where only a single async function is being used on the object currently being passed into Promise.promisifyAll.
Acceptance Criteria
Promise.promisify
is used when only a single async function is required on an object