Amqpx.Queue.delete

You're seeing just the function delete, go back to Amqpx.Queue module for more information.
Link to this function

delete(channel, queue, options \\ [])

Specs

Deletes a Queue by name.

Options

  • :if_unused - If set, the server will only delete the queue if it has no consumers. If the queue has consumers, it's not deleted and an error is returned.
  • :if_empty - If set, the server will only delete the queue if it has no messages.
  • :no_wait - If set, the delete operation is asynchronous.