Skip to main content
Deno.HttpServer.ref - Deno documentation
method Deno.HttpServer.ref
HttpServer.ref(): void

Make the server block the event loop from finishing.

Note: the server blocks the event loop from finishing by default. This method is only meaningful after .unref() is called.

Return Type

void