Asynq v0.4.0 Release Notes

Release Date: 2020-02-13 // about 4 years ago
  • 🔄 Changed

    • Handler interface has changed. ProcessTask method takes two arguments context.Context and *asynq.Task
    • Queues field in Config has change from map[string]uint to map[string]int

    ➕ Added

    • Client can optionally schedule task with asynq.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.