httpx-ws icon indicating copy to clipboard operation
httpx-ws copied to clipboard

Raise `TimeoutError` instead of `queue.Empty`

Open davidbrochart opened this issue 1 month ago • 0 comments

Would it be better to raise TimeoutError instead of queue.Empty when trying to receive data from a synchronous WebSocket? It feels like the latter is an implementation detail.

davidbrochart avatar Nov 09 '25 12:11 davidbrochart