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

Usage in Deno

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

Parameters

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

Return Type

void
Back to top