Skip to main content
EventEmitter.Abortable.signal - events - Node documentation
property EventEmitter.Abortable.signal

Usage in Deno

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

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Type

AbortSignal | undefined