def add_on_return_callback(self, callback):
        self._impl.add_on_return_callback(
            lambda _channel, method, properties, body: (
                self._add_pending_event(
                    _ReturnedMessageEvt(
                        callback, self, method, properties, body))))
Pass a callback function that will be called when a published
dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingChannel.add_on_return_callback