mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 23:45:52 +03:00
[GH-ISSUE #520] How can I cancel task In My Code? #241
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#241
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 @realmicro on GitHub (Jul 17, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/520
How can I cancel task In My Code?
If I enqueue a task like this:
client.Enqueue(task, asynq.ProcessIn(24*time.Hour))Maybe I wanner cancel this task If this task not executed.
How Can I achieve this feature?
@kienvtqhi commented on GitHub (Dec 19, 2022):
Hello,
Have you found out how to cancel a task?
@merulas commented on GitHub (May 14, 2024):
Help , same question
@fletcherist commented on GitHub (Sep 26, 2024):
@merulas @kienvtqhi