Asynq v0.4.0 Release Notes
Release Date: 2020-02-13 // about 4 years ago-
🔄 Changed
Handler
interface has changed.ProcessTask
method takes two argumentscontext.Context
and*asynq.Task
Queues
field inConfig
has change frommap[string]uint
tomap[string]int
➕ Added
- ⏱
Client
can optionally schedule task withasynq.Timeout(duration)
to specify timeout duration for task. Default is no timeout. - 🚦
asynqmon cancel [task id]
will send a cancelation signal to the goroutine processing the speicified task.