Skip to content

XState Typegen without custom clock

Latest
Compare
Choose a tag to compare
@Devessier Devessier released this 13 Feb 18:50
8b1f24c

From a discussion with Roey Berman on Temporal's Slack, it appeared that using a custom clock implementation was not necessary. In this new version, I dropped it. The integration of XState with Temporal is even more straightforward than it seemed to be at first!

I migrated the XState machine to Typegen, improving drastically the type-safety of the machine.

Thanks to Stately Editor, the machine can be edited visually.

Temporal's dependencies have been upgraded too.

Let's build your own workflows from this template, by using these amazing tools!

Diff →