second reducer sweep of success

This commit is contained in:
lda
2026-05-17 19:23:12 +07:00 Verified
parent 23dc684c23
commit 8a477081fd
4 changed files with 37 additions and 4 deletions
+2 -1
View File
@@ -249,7 +249,8 @@ def post_roll_router(
@node(name="main")
def tick(state: Countdown) -> Countdown:
return Countdown(countdown=state.countdown - 1)
"""Emit a countdown delta because State.countdown uses the add reducer."""
return Countdown(countdown=-1)
@node(outcomes=("tick", END))