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

Usage in Deno

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

Parameters

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

Return Type

void