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

std/node/dgram.ts>Socket#close

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

Parameters

optional
_callback: () => void