(subscription *brokerSubscription)
| 1373 | } |
| 1374 | |
| 1375 | func (bc *brokerConsumer) queueSubscription(subscription *brokerSubscription) bool { |
| 1376 | select { |
| 1377 | case <-bc.stop: |
| 1378 | return false |
| 1379 | case bc.input <- subscription: |
| 1380 | return true |
| 1381 | } |
| 1382 | } |
no outgoing calls