Skip to main content
Module

std/node/net.ts>Server#unref

Deno standard library
Go to Latest
method Server.prototype.unref
import { Server } from "https://deno.land/std@0.145.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.