'Delete a queue from the broker.
:param queue: The queue to delete
:type queue: str or unicode
:param bool if_unused: only delete if it\'s unused
:param bool if_empty: only delete if the queue is empty
:returns: Method frame from the Queue.Delete-ok response
:rtype: `pika.frame.Method` having `method` attribute of type
`spec.Queue.DeleteOk`'

def queue_delete(self, queue='', if_unused=False, if_empty=False):

    with _CallbackResult(self._MethodFrameCallbackResultArgs) as delete_ok_result:
        self._impl.queue_delete(callback=delete_ok_result.set_value_once, queue=queue, if_unused=if_unused, if_empty=if_empty, nowait=False)
        self._flush_output(delete_ok_result.is_ready)
        return delete_ok_result.value.method_frame
