Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize action after transition success or failure. #386

Open
sandeep2rawat opened this issue May 5, 2023 · 1 comment
Open

Finalize action after transition success or failure. #386

sandeep2rawat opened this issue May 5, 2023 · 1 comment

Comments

@sandeep2rawat
Copy link

sandeep2rawat commented May 5, 2023

  • Python State Machine version: 2.0.0
  • Python version: 3.10
  • Operating System: mac os 13

Description

I am looking for an action which gets called after a transition happened whether successfully or not.
Basically I am implementing a distributed state machine, and I want to execute one transition at a time. So for that I am trying to put a lock on before a transition happen and release the same after the transition (success/failure).

What I Did

I didn't do anything yet, except searching it in the documentation but didn't find anything.

@fgmacedo
Copy link
Owner

fgmacedo commented Jun 5, 2023

Hi @sandeep2rawat , thanks for your suggestion. Currently, this is not supported out of the box. Mapped as enhancement.

Best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants