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

x/ayonli_jsext/http.ts>Server#unref

A JavaScript extension package for building strong and modern applications.
Latest
method Server.prototype.unref
Re-export
import { Server } from "https://deno.land/x/ayonli_jsext@v0.9.72/http.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 callingunref() again will have no effect.