Skip to main content

ref

method Deno.HttpServer.ref
Jump to headingHttpServer.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 Jump to heading

void
Back to top