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

x/ayonli_jsext/http.ts>Server#ref

A JavaScript extension package for building strong and modern applications.
Latest
method Server.prototype.ref
Re-export
import { Server } from "https://deno.land/x/ayonli_jsext@v0.9.72/http.ts";

Opposite of unref(), calling ref() on a previously unrefed server will not let the program exit if it's the only server left (the default behavior). If the server is refed calling ref() again will have no effect.