delete abstract method

Future<Exchange> delete({
  1. bool ifUnused = false,
  2. bool noWait = false,
})

Delete the exchange and return a Future<Exchange> to the deleted exchange.

If the ifUnsused flag is set, the server will only delete the exchange if it has no queue-bindings. If the flag is set and the exchange has any queue bindings left, then the server will raise an exception.

Implementation

Future<Exchange> delete({bool ifUnused = false, bool noWait = false});