ref

Bun

Symbol

Socket.ref

ref(): void

Keep Bun's process alive at least until this socket is closed

After the socket has closed, the socket is unref'd, the process may exit, and this becomes a no-op