Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/net.ts>Socket#_destroy

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Socket.prototype._destroy
import { Socket } from "https://deno.land/std@0.154.0/node/net.ts";

Parameters

exception: Error | null
cb: (err: Error | null) => void