Message queue (SOLVED)
Posted: Thu Feb 04, 2016 8:17 am
Hi,
I really don't know what is the best practice for creating a message queue.
I have a button that user can click any number of times: every time he clicks a process starts, but the new process can't start untill the old one finished.
The process duration time may change, so I can't use send to me in xxx sec.
I need to create a message queue, so every time the user clicks, he just add a process start request to a list.
I'm very scared of using something like repeat forever cicles to check the list.
(I'll need at least 16 of these buttons)
I really don't know what is the best practice for creating a message queue.
I have a button that user can click any number of times: every time he clicks a process starts, but the new process can't start untill the old one finished.
The process duration time may change, so I can't use send to me in xxx sec.
I need to create a message queue, so every time the user clicks, he just add a process start request to a list.
I'm very scared of using something like repeat forever cicles to check the list.
(I'll need at least 16 of these buttons)