How to execute the queue event after specific time interval

I have a few scenarios where I need to execute the queue functions after 2, 5, and 7 seconds.
I tried different ways but didn’t find any luck.

Can anyone assist or suggest to me how I can achieve this?


I was thinking if we could use Date-time param for enqueue method to execute the queue event on specific time.

for Instance:

execute_event_on = “Dec-25-2020 10:10:00”
enqueue(method, execute_on=execute_event_on)

If there’s already hack for it please let me know.

I can’t use scheduler hooks to enqueue the event.