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

Refactor event based gateways #419

Open
essweine opened this issue Jun 12, 2024 · 0 comments
Open

Refactor event based gateways #419

essweine opened this issue Jun 12, 2024 · 0 comments

Comments

@essweine
Copy link
Contributor

Event based gateways currently do not work properly with timers.

The implementation is a complete hack. It would be better to restructure them the same way as was done for boundary events, so that the gateway actually occurs after the events in the task tree. The library's internal workings are premised on tasks having orderly transitions (eg, parent completes, child becomes ready or waits; parents should not wait on their children) but that's not how event based gateways work and it makes them unreliable.

This should be pretty easy to fix, except for the difficulty of working with our parser. So I'd like to put this off until #404 is complete (it's currently in progress).

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

No branches or pull requests

1 participant