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