interface EventEmitter.Abortable
Usage in Deno
import { type EventEmitter } from "node:events"; type { Abortable } = EventEmitter;
optional
signal: AbortSignal | undefined
When provided the corresponding AbortController
can be used to cancel an asynchronous action.