2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-09-20 19:06:46 +08:00
asynq/asynq.go

19 lines
474 B
Go
Raw Normal View History

2019-11-15 13:07:19 +08:00
package asynq
2019-11-17 06:45:51 +08:00
/*
TODOs:
2019-12-19 13:18:13 +08:00
- [P0] Pagination for `asynqmon ls` command
2019-12-18 12:37:54 +08:00
- [P0] Show elapsed time for InProgress tasks (asynqmon ls inprogress)
2019-12-13 11:05:25 +08:00
- [P0] Go docs + CONTRIBUTION.md + Github issue template + License comment
2019-11-24 08:44:22 +08:00
- [P1] Add Support for multiple queues and priority
2019-11-17 06:45:51 +08:00
*/
2019-11-15 13:07:19 +08:00
// Task represents a task to be performed.
type Task struct {
2019-11-17 06:45:51 +08:00
// Type indicates the kind of the task to be performed.
Type string
2019-12-28 12:37:15 +08:00
// Payload holds data needed to process the task.
2019-12-19 23:13:43 +08:00
Payload Payload
2019-11-15 13:07:19 +08:00
}