'Called in response to us asking the server to toggle on Channel.Flow
:param pika.frame.Method method_frame: The method frame received'

def _on_flowok(self, method_frame):

    self.flow_active = method_frame.method.active
    if self._on_flowok_callback:
        self._on_flowok_callback(method_frame.method.active)
        self._on_flowok_callback = None
    else:
        LOGGER.warning('Channel.FlowOk    received    with    no    active    callbacks')
