method internal.DuplexOptions.destroy Usage in Denoimport { type internal } 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