-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
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]