When using methods from this library, there's a ~10 second delay before the process exits. It's due to the setTimeout in the promiseTimeout utility, which never gets cleared if the promise resolves successfully. Adding a clearTimeout here takes care of that.
When using methods from this library, there's a ~10 second delay before the process exits. It's due to the
setTimeout
in thepromiseTimeout
utility, which never gets cleared if the promise resolves successfully. Adding aclearTimeout
here takes care of that.