Skip to main content
default.Duplex.prototype._destroy - stream - Node documentation
method default.Duplex.prototype._destroy

Usage in Deno

import mod from "node:stream";
Duplex.prototype._destroy(
error: Error | null,
callback: (error?: Error | null) => void,
): void

Parameters

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

Return Type

void