Asynq v0.19.0 Release Notes
Release Date: 2021-11-06 // over 2 years ago-
๐ Changed
NewTask
takesOption
as variadic argument- โฌ๏ธ Bumped minimum supported go version to 1.14 (i.e. go1.14 or higher is required).
โ Added
Retention
option is added to allow user to specify task retention duration after completion.TaskID
option is added to allow user to specify task ID.ErrTaskIDConflict
sentinel error value is added.ResultWriter
type is added and provided throughTask.ResultWriter
method.TaskInfo
has new fieldsCompletedAt
,Result
andRetention
.
โ Removed
- ๐
Client.SetDefaultOptions
is removed. UseNewTask
instead to pass default options for tasks.