While using the library, I find myself typing job.complete(). For the 1.0.0 release, add the complete.success method as job.complete, complete.failure as job.fail, complete.error as job.error, and complete.forward as job.forward.
This will involve overloading the task handler signature as well, to allow people to continue to use the old complete parameter. This should be marked as deprecated, and the documentation updated to reflect the new API surface.
While using the library, I find myself typing
job.complete()
. For the 1.0.0 release, add thecomplete.success
method asjob.complete
,complete.failure
asjob.fail
,complete.error
asjob.error
, andcomplete.forward
asjob.forward
.This will involve overloading the task handler signature as well, to allow people to continue to use the old
complete
parameter. This should be marked as deprecated, and the documentation updated to reflect the new API surface.