Properties of a ConditionalTask.

interface IConditionalTask {
    attempt?: ITask[];
    onFailure?: ITask[];
}

Implemented by

Properties

Properties

attempt?: ITask[]

A list of subtasks to process in an attempt to produce a valid numerical result.

onFailure?: ITask[]

A list of subtasks that will be run if attempt subtasks are unable to produce an acceptable result.