Skip to content

0.5.0

Compare
Choose a tag to compare
@b4rtaz b4rtaz released this 16 Sep 16:08
· 7 commits to main since this release
c945fac

This version simplifies error handling:

  • The getSnapshot() method now returns an instance of the WorkflowMachineSnapshot class, which includes three new methods: isFinished(), isFailed(), and isInterrupted(). Additionally, you can retrieve the id of the last executing step by calling the tryGetCurrentStepId() method.
  • The unhandledError property of the snapshot class is always an instance of the MachineUnhandledError class.