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

Usage in Deno

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

Parameters

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

Return Type

void