0.5.0
This version simplifies error handling:
- The
getSnapshot()
method now returns an instance of theWorkflowMachineSnapshot
class, which includes three new methods:isFinished()
,isFailed()
, andisInterrupted()
. Additionally, you can retrieve the id of the last executing step by calling thetryGetCurrentStepId()
method. - The
unhandledError
property of the snapshot class is always an instance of theMachineUnhandledError
class.