callbackify icon indicating copy to clipboard operation
callbackify copied to clipboard

Using process.nextTick to call callbacks

Open saveman71 opened this issue 5 years ago • 0 comments

If there is a error thrown in the callback, I believe the current implementation creates an unhandled promise rejection.

Wrapping the calls in process.nextTick appears to fix it in my case, correct me if I'm wrong!

saveman71 avatar Mar 25 '20 18:03 saveman71