mirror of
https://github.com/hibiken/asynq.git
synced 2026-08-18 08:24:46 +08:00
Merge pull request #1094 from fanatics-live/batch-enqueue
Add BatchEnqueue for pipelined multi-task enqueue
This commit is contained in:
1
asynq.go
1
asynq.go
@@ -40,6 +40,7 @@ type Task struct {
|
||||
func (t *Task) Type() string { return t.typename }
|
||||
func (t *Task) Payload() []byte { return t.payload }
|
||||
func (t *Task) Headers() map[string]string { return t.headers }
|
||||
func (t *Task) Options() []Option { return t.opts }
|
||||
|
||||
// ResultWriter returns a pointer to the ResultWriter associated with the task.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user