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

Make the connection block the event loop from finishing.

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

Return Type

void