Skip to content

Add Callback parameter to Wait job

Alejo Carballude requested to merge feature/job_wait_callback into master

Related tasks

Context

The Wait job allows waiting for a condition to happen. If a timeout is exceeded, an error is returned. Currently, there is no way to react to this error other than through a rollback handler, and doing so with a rollback handler is cumbersome because the error received can potentially be generated by a job later in the action.

Change

A ErrorCallback parameter was add to the WaitInput data structure to optionally process Wait error before having the job return it.

Other information

Additional documentation

Merge request reports