close

suspend fun close()

Closes the queue. The queue cannot be used after closing. A new queue should be created.