Module

std/node/net.ts>Server#unref

Deno standard library
Go to Latest
method Server.prototype.unref
import { Server } from "https://dotland.deno.dev/std@0.116.0/node/net.ts";

Calling unref() on a server will allow the program to exit if this is the only active server in the event system. If the server is already unrefed calling unref() again will have no effect.