queue-fifo
queue-fifo copied to clipboard
Question: Is it possible to iterate or continuously dequeue items as they are added?
Hi,
Not really sure how to frame this question but I would like to decouple my queue processing from enqueuing such that I can rely on things to be processed as they come in. With items waiting in queue until previous is processed.
My specific use case for this is in a Stripe webhook handler where I don't want to process events concurrently but one at a time so I was hoping to integrate this somewhere between the webhook receiver and the handler..