Skip to content
Discussion options

You must be logged in to vote

Hi @emptierset , how are you?

Eventually, one day, all actions in the same "group" could run in parallel. Currently, they run in sequence in the sync engine and concurrently on the asynchronous engine (using asyncio.gather).

Assuming that you are using the sync engine (no async callbacks), there's a second level of priority that you can use, but it's still an implementation detail that can change in the future: It's the Callback priority order by how they are registered. All the priorities are in the example: https://python-statemachine.readthedocs.io/en/latest/auto_examples/all_actions_machine.html#testing

The priorities:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@emptierset
Comment options

Answer selected by fgmacedo
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