From a conversation on Temporal's Slack, it seemed that using a custom clock implementation was not necessary to make timers work between XState and Temporal, so I dropped it, and it works great!
I also upgraded Temporal and XState to the latest versions. The machine powering the workflow is now using Typegen, proving a better TypeScript experience with XState.
From a conversation on Temporal's Slack, it seemed that using a custom clock implementation was not necessary to make timers work between XState and Temporal, so I dropped it, and it works great!
I also upgraded Temporal and XState to the latest versions. The machine powering the workflow is now using Typegen, proving a better TypeScript experience with XState.