Skip to main content
internal.TransformOptions.destroy - stream - Node documentation
method internal.TransformOptions.destroy

Usage in Deno

import { type internal } from "node:stream";
TransformOptions.destroy(
this: Transform,
error: Error | null,
callback: (error?: Error | null) => void,
): void

Parameters

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

Return Type

void