Open twksos opened 1 year ago
make prepush
Closes:
Summarize the issues that discussed these changes
currently, the async function handling does not meet user's expectation. a function returning Promise can still have the next param and:
add a local variable to check whether next is called and wrap the next function.
What does this PR do?
chain.js
Hi @mmarchini, could you review this PR when you have time?
Pre-Submission Checklist
make prepush
Issues
Closes:
currently, the async function handling does not meet user's expectation. a function returning Promise can still have the next param and:
Changes
add a local variable to check whether next is called and wrap the next function.
chain.js
prevent further Promise handling if next is called.