Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : how to wait for results after enqueue #851

Open
Zambiorix opened this issue Mar 27, 2024 · 2 comments
Open

Question : how to wait for results after enqueue #851

Zambiorix opened this issue Mar 27, 2024 · 2 comments

Comments

@Zambiorix
Copy link

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 Zambiorix changed the title Question Question : how to wait for results after enqueue Mar 27, 2024
@linhbkhn95
Copy link
Contributor

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

@yimingsir
Copy link

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants