Skip to main content
EventEmitter.Abortable - events - Node documentation
interface EventEmitter.Abortable

Usage in Deno

import { EventEmitter } from "node:events";

Properties

optional
signal: AbortSignal | undefined

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