Closed acostalima closed 6 years ago
As per #13 discussion, I think that a unhook
method on the returned promise is missing.
Is that right @sindresorhus ?
I think that a unhook method on the returned promise is missing. Is that right @sindresorhus ?
Correct
Thanks for the feedback @sindresorhus @satazor
The implementation should be as desired now. I have also reverted the existing tests to test.serial
and test.serial.cb
and added a few more specifically to verify that the promise resolves when unhook
is called either from promise or callback.
Hey @sindresorhus, I completely forgot to finish this PR! My apologies. I made some improvements to the code since my last commit. Please have look to the most recent changes I've made.
Thanks!
ping @sindresorhus
ping @sindresorhus
ping @sindresorhus
ping @sindresorhus
This looks great. Sorry for the long delay. I have more than 300 PRs to review.
Resolves #7