method default.DuplexOptions.destroy Usage in Denoimport 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