asynq icon indicating copy to clipboard operation
asynq copied to clipboard

Question : how to wait for results after enqueue

Open Zambiorix opened this issue 1 year ago • 2 comments

I'm trying to decouple my frontend REST api from my backend with Asynq. How do I actually make my client wait for the result of a task after I enqueue it?

Thanks!

Zambiorix avatar Mar 27 '24 16:03 Zambiorix

I think https://github.com/hibiken/asynqmon the thing that you need right now. I also give you know how to client interact with asynq api

linhbkhn95 avatar Mar 28 '24 01:03 linhbkhn95

You can add job status field. In asynq job execution, update job status field to doing/done. Add a api to get job status,at frontend you can get job status by the api.

yimingsir avatar Jun 03 '24 03:06 yimingsir