util.markPromiseAsHandled(promise): void
Attributes
promise:
promiseThe promise to mark as handled
Marks a promise as handled so that unhandled rejections are ignored and are not
reported to the 'unhandledrejection' event.
util.markPromiseAsHandled(promise): void
promiseMarks a promise as handled so that unhandled rejections are ignored and are not
reported to the 'unhandledrejection' event.