Replies: 2 comments 3 replies
|
I'm new to For now I don't see an option which gives you exact answer and it's rather something you need to build by yourself. A few possibilities from me:
But better to wait for the answer from someone who is more familiar with |
|
At the moment, PGQueuer does not support bidirectional communication between the producer and consumers. The best option available right now is to poll the log table using the job ID and wait for a status update that matches your criteria. While polling isn't ideal, it's the only viable approach currently. That said, this sounds like an interesting feature. Out of curiosity, could you share more details about your use case? Why do you need the producer to wait for the job to be processed before continuing? If the goal is to enforce sequential execution or dependency handling, there might be alternative ways to structure this. Would love to hear more about your specific scenario! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm currently working on a producer-consumer scenario in which my producer runs asynchronous tasks that can either be completed normally or canceled. I want the producer to wait until the task is completed or canceled before moving on to the next piece of code.
How can I do this?
All reactions