listen on the done channel to ensure that we can clean up the WebSocket go-routine, once the caller is done with writing the response.
6.7 KiB
6.7 KiB
listen on the done channel to ensure that we can clean up the WebSocket go-routine, once the caller is done with writing the response.