Concurrency Queue Access
meisamhasani opened this issue · 0 comments
meisamhasani commented
hello
I have a Queue, and want when call this grain :
private Task DequeueEntityId()
{
return State.EventIdBank.Dequeue();
}
When calling several thousand times per second, what should I do to ensure that duplicate numbers are not returned?