2
0
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:
Mohamed Sohail
2026-05-14 15:34:54 +03:00
committed by GitHub
8 changed files with 658 additions and 0 deletions

View File

@@ -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.
//