delete

suspend fun QueueMessageItem.delete()

Delete the message from the Azure Storage Queue.

Example usage:

with(queueAsyncClient) {
val messagesFlow = receiveMessagesAsFlow()

messagesFlow.collect {
it.delete()
}
}