mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #611] [FEATURE REQUEST] Add callback-function after task is done #298
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lilihx on GitHub (Feb 6, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/611
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
I need a callback to notice consumer after the worker task done.
Does asynq have a callback ?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
@bfwbbrj commented on GitHub (Mar 17, 2023):
Can you share some background information? What would the use case be like?
@lee3164 commented on GitHub (Mar 27, 2023):
Sometimes, we need to schedule task B after task A is done
@lee3164 commented on GitHub (Mar 27, 2023):
Sometimes, we need to schedule task B after task A is done
@bfwbbrj commented on GitHub (Mar 28, 2023):
In this case, I believe simply calling
asynq.Client.Enqueueafter task A is done would satisfy your needs.@lee3164 commented on GitHub (Mar 28, 2023):
Yes, because this is a simple case. If we have such a feature, we can get many benefits from it.