mirror of
https://github.com/hibiken/asynq.git
synced 2024-09-20 02:55:54 +08:00
16 lines
265 B
Go
16 lines
265 B
Go
package asynq
|
|
|
|
/*
|
|
TODOs:
|
|
- [P0] Go docs + License comment
|
|
*/
|
|
|
|
// Task represents a task to be performed.
|
|
type Task struct {
|
|
// Type indicates the kind of the task to be performed.
|
|
Type string
|
|
|
|
// Payload holds data needed to process the task.
|
|
Payload Payload
|
|
}
|