I am using cosmos db and azure queue in my project
I have cancel shipment button on click of this button it will enter a message in a queue to cancel shipment and according to my project it will show create shipment button instantly after entering messaging in a queue. what if the user will click on create shipment and it will enter in a queue and what if create shipment trigger first then cnacel shipment it will break down my process.
I will take a flag in a sql table to hide create shipment button unitill flag is on but it is not a good practise .beacuse for each new functionality i had to use a flag
3