08-17-2023 02:36 AM
Consider One enqueue is created , in two places it is dequeued but should get the same element out, how is it possible using the queue functions?
08-17-2023 03:53 AM
That will not be posible with one Queue.
A Queue is on the basis, a One to One or Many to One stream of data.
If you want a One to Many, you need to look at Notifier or User events.
08-17-2023 04:03 AM
Queues are Many-to-one, Events are One-to-many. You want events instead.
08-17-2023 04:04 AM
As Already commented, Queue is best for N to 1 and Value needs to be processed, Notifier is best for N to N.
Check the link below for detailed differences between Queue and Notifier.