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

Usage in Deno

import type mod from "node:stream";
DuplexOptions.destroy(
this: Duplex,
error: Error | null,
callback: (error?: Error | null) => void,
): void

Parameters

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

Return Type

void
Back to top