WIP: Track task state under task key

This commit is contained in:
Ken Hibino
2021-03-23 16:39:15 -07:00
parent 24e3d2e273
commit e9636c7c19
3 changed files with 69 additions and 23 deletions

View File

@@ -216,6 +216,11 @@ const (
TaskStateArchived
)
func (i *Inspector) GetTaskInfo(taskID string) (TaskInfo, error) {
// TODO: implement this
return nil, nil
}
// PendingTask is a task in a queue and is ready to be processed.
type PendingTask struct {
*asynq.Task