WritableBase.prototype._destroy - 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