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

Usage in Deno

import type mod 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