unref

Bun

Symbol

Socket.unref

unref(): void

Allow Bun's process to exit even if this socket is still open

After the socket has closed, this function does nothing.