Skip to main content
method Deno.Listener.ref
Listener.ref(): void
Deprecated

Make the listener block the event loop from finishing.

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

Return Type

void
Back to top