drop

suspend fun drop(queue: PgMqClient.Queue): Result<Boolean>(source)

Drops the specified queue from the system.

This method removes all metadata and references associated with the provided queue name. If the operation is successful, the system will no longer recognize the specified queue.

Return

A Result containing true if the queue was successfully dropped, or false if the operation fails.

Parameters

queue

The queue to be dropped, represented by its configuration.