(info) This AI is still in early stages of development.

instance.abort()

Abort the current run of a process instance, optionally cancelling any queued runs.

 

Syntax

Process("myProcess").abort(all);
// note: instance.onEnd() will be called when the aborted run ends

Parameters

ParameterTypeMandatoryNotesPulse Version

all

Boolean

(error)

If true all queued runs will be cancelled.

Default: false

0.1

Return value

ValueTypeNotesProcess Version
<instance>Process Instance

The process instance is returned, so you can chain more instance methods, eg:

Process("foo").abort(...).addTask(...).run();
0.1

Examples

 

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

Â