Skip to content
Discussion options

You must be logged in to vote

Hello!
Sorry for the long reply, I was receiving notifications from issues and PRs only, and only now noticed this discussion.

What is the rationale behind executing all destination coroutines in parallel when only the first valid result is used?
Wouldn't it be more efficient to execute only the highest priority transition first, and only try lower priority transitions if the higher ones fail?

The main reason is consistency with how conditions and priorities are executed.

I agree that in most cases it would be more efficient to execute destinations consecutively since it's not likely that a destination would raise an error. I'll consider adding an option to choose how destinations are e…

Replies: 1 comment

Comment options

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