Stop task consumer.
(self, c)
| 78 | channel_qos.can_consume = MethodType(can_consume, channel_qos) |
| 79 | |
| 80 | def stop(self, c): |
| 81 | """Stop task consumer.""" |
| 82 | if c.task_consumer: |
| 83 | debug('Canceling task consumer...') |
| 84 | ignore_errors(c, c.task_consumer.cancel) |
| 85 | |
| 86 | def shutdown(self, c): |
| 87 | """Shutdown task consumer.""" |