internal.StreamOptions.destroy - Node documentation
method internal.StreamOptions.destroy

Usage

import { type internal } from "node:stream";

Parameters

this: T
error: Error | null
callback: (error?: Error | null) => void

Return Type

void