Skip to content

Conversation

@mhaberler
Copy link

a transition or timed transition may optionally be guarded by a predicate. The transition will fire only if the evaluation of the predicate returns true.

The using_predicates example shows how to dynamically enable/disable transitions at runtime.

the transition will fire only iff predicate returns true. Default is true.
a transition guarded with a predicate will only fire if the predicate returns
true.

In this example, transitions will start firing only after 5s post startup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant