def close(self, reply_code=0, reply_text="Normal Shutdown"):
        LOGGER.info('Channel.close(%s, %s)', reply_code, reply_text)

        # Cancel remaining consumers
        self._cancel_all_consumers()

        # Close the channel
        try:
            with _CallbackResult() as close_ok_result:
                self._impl.add_callback(callback=close_ok_result.signal_once,
                                        replies=[pika.spec.Channel.CloseOk],
                                        one_shot=True)

                self._impl.close(reply_code=reply_code, reply_text=reply_text)
                self._flush_output(close_ok_result.is_ready)
        finally:
            self._cleanup()
Will invoke a clean shutdown of the channel with the AMQP Broker.
dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingChannel.close