Properties of a ConditionalTask.

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

Implemented by

Properties

Properties

attempt?: null | ITask[]

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

onFailure?: null | ITask[]

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