mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
Fix after usage with skipped conditions (#2945)
* Introduces a new `SKIP_TO_COMPLETED` event used for loops where .after() is registered on the looping condition step. We skip that straight into completion and don't check for subscribers anymore since the loop is completed. * When transitioning to limbo for skipped conditions, we transition to skipped state and run subscribers before moving to the final state if there are subscribers on that stepId
This commit is contained in:
parent
1291e89e19
commit
44631b1e94
5 changed files with 75 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue