On this page

    M

    util.markPromiseAsHandled

    History
    util.markPromiseAsHandled(promise): void
    Attributes
    promise:promise
    The promise to mark as handled

    Marks a promise as handled so that unhandled rejections are ignored and are not reported to the 'unhandledrejection' event.