TSocketReadyState
Bun

type

net.SocketReadyState

type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed'