Skip to main content
EventEmitterOptions.captureRejections - events - Node documentation
property EventEmitterOptions.captureRejections

Usage in Deno

import { type EventEmitterOptions } from "node:events";

Enables automatic capturing of promise rejection.

Type

boolean | undefined