method Server.prototype.once
Usage in Deno
import { Server } from "node:net";
Server.prototype.once(event: "connection",listener: (socket: Socket) => void,): this
listener: (socket: Socket) => void
this
Server.prototype.once(event: "drop",listener: (data?: DropArgument) => void,): this
listener: (data?: DropArgument) => void
this