Test if Conn is in the draining state.
()
| 6270 | |
| 6271 | // Test if Conn is in the draining state. |
| 6272 | func (nc *Conn) isDraining() bool { |
| 6273 | return nc.status == DRAINING_SUBS || nc.status == DRAINING_PUBS |
| 6274 | } |
| 6275 | |
| 6276 | // Test if Conn is in the draining state for pubs. |
| 6277 | func (nc *Conn) isDrainingPubs() bool { |
no outgoing calls
no test coverage detected