pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.68k stars 530 forks source link

Are lists of callbacks (for example in "conditions") executed strictly in order? #363

Closed sergei3000 closed 5 years ago

sergei3000 commented 5 years ago

Is the execution order of methods inside one type like "before", "conditions" and others guaranteed? Or should I create new states instead? I could not find an answer to this question in the documentation. It would be great to update it to include an answer to this question. Thanks.