'Pass a callback function that will be called when the basic_cancel
is sent by the server. The callback function should receive a frame
parameter.
:param callable callback: The callback to call on Basic.Cancel from
broker'

def add_on_cancel_callback(self, callback):

    self.callbacks.add(self.channel_number, spec.Basic.Cancel, callback, False)
