Today if I want to receive/peek just one message from the queue I have to use API that returns list and select first item. Which makes me write lot of repetitive code if I have to do it many times in different places in my program.
We should consider adding receive_message / peek_message. that returns first message or None.
We did that in .NET here Azure/azure-sdk-for-net#14211
Today if I want to receive/peek just one message from the queue I have to use API that returns list and select first item. Which makes me write lot of repetitive code if I have to do it many times in different places in my program.
We should consider adding receive_message / peek_message. that returns first message or None.
We did that in .NET here Azure/azure-sdk-for-net#14211