Invoked to stop the running process, immediately rejecting the promise. No further actions will be run.
Optional data to merge into the Error the promise will be rejected with.
Attaches a callback for only the rejection of the Promise.
The callback to execute when the Promise is rejected.
A Promise for the completion of the callback.
Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
The callback to execute when the Promise is settled (fulfilled or rejected).
A Promise for the completion of the callback.
Invoked to stop the running process, immediately resolving the promise. No further actions will be run.
Attaches callbacks for the resolution and/or rejection of the Promise.
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Invoked to update the set of conditions used within the running process.
NOTE: This method updates the conditions used by the ProcessLogic returned by dependencies.
The conditions to merge into the process' internal set of conditions.
Provides normal Promise functionality plus the ability to update, cancel, or stop a running process.
NOTE: The
update
method is primarily used to change conditions for a running process.