Slow consumer
A slow consumer is a client that receives messages more slowly than the server produces them. In this course, a full per-client send buffer causes non-blocking delivery to fail, allowing the hub to disconnect that client instead of blocking message delivery to other customers.
Minimal example
select {
case c.send <- message:
return true
default:
return false
}