PidleTimeout
Bun

property

WebSocketHandler.idleTimeout

idleTimeout?: number

Sets the the number of seconds to wait before timing out a connection due to no messages or pings.