mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[GH-ISSUE #569] [FEATURE REQUEST] How can get taskID #1286
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#1286
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 @tonyjia87 on GitHub (Nov 3, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/569
Originally assigned to: @hibiken on GitHub.
I want to pause and stop tasks by taskID
How to get the corresponding taskID ?
@hibiken commented on GitHub (Dec 24, 2022):
Use
TaskIDfield onTaskInfo(return value ofClient.Enqueue).Alternatively, you could Use
Inspectorto list task in specific state (e.g.,Inspector.ListPendingTasks)