[GH-ISSUE #851] Question : how to wait for results after enqueue #1430

Open
opened 2026-03-07 22:09:30 +03:00 by kerem · 2 comments
Owner

Originally created by @Zambiorix on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/851

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!

Originally created by @Zambiorix on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/hibiken/asynq/issues/851 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!
Author
Owner

@linhbkhn95 commented on GitHub (Mar 28, 2024):

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

<!-- gh-comment-id:2024222901 --> @linhbkhn95 commented on GitHub (Mar 28, 2024): 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
Author
Owner

@yimingsir commented on GitHub (Jun 3, 2024):

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.

<!-- gh-comment-id:2144209478 --> @yimingsir commented on GitHub (Jun 3, 2024): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1430
No description provided.