Skip to main content

ref

method Deno.Listener.ref
Jump to headingListener.ref(): void

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 Jump to heading

void
Back to top