Skip to content

QLPUSHTIMER command #7

@mc0

Description

@mc0

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]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions