interface EventEmitterOptions {
    captureRejections?: boolean;
}

Properties

captureRejections?: boolean

Enables automatic capturing of promise rejection.