Skip to content

How can I conditional transition in invocation? #1331

Answered by Andarist
baeharam asked this question in General
Discussion options

You must be logged in to vote

What is the order of actions and cond? Which is first? Does actions occur after cond or before?

actions won't be executed if cond returns false, so naturally cond happens first. I'm talking about { cond, actions } situation.

When I make specific guard and specify in guards property, the type is different from default guard and invocation guard. It means that default guard uses basic event type, but invocation guard uses DoneInvokeEvent type. Therefore, I cannot specify guard in guards property when I use server response. How can I achieve this?

When you put things in options.guards they become context-less for us, we can't infer too specific types based on how and where those are used…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by baeharam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants