import { Socket } from "https://deno.land/std@0.138.0/node/net.ts";
Opposite of unref()
, calling ref()
on a previously unref
ed socket will_not_ let the program exit if it's the only socket left (the default behavior).
If the socket is ref
ed calling ref
again will have no effect.