The QLPUSHTIMER command would allow adding an event that should run after an elapsed number of seconds (waitDuration). This isn't a guaranteed contract except when the consumer sends the TIMER option to QRPOP command which will ensure all events have met their waitDuration before returning them.
Events in the same queue are expected to have the same waitDuration to maintain simple checks.
+QLPUSHTIMER queue eventID waitDuration contents
-QRPOP queue [EX seconds] [UNSAFE]
+QRPOP queue [EX seconds] [UNSAFE] [TIMER]
The QLPUSHTIMER command would allow adding an event that should run after an elapsed number of seconds (
waitDuration). This isn't a guaranteed contract except when the consumer sends theTIMERoption to QRPOP command which will ensure all events have met theirwaitDurationbefore returning them.Events in the same queue are expected to have the same
waitDurationto maintain simple checks.