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

If multiple widgets update via Aff simultaneously, the state of all but one are lost #56

Open
mpdairy opened this issue Jan 9, 2021 · 0 comments

Comments

@mpdairy
Copy link

mpdairy commented Jan 9, 2021

I made a pub/sub message broadcaster that works through Aff. If I have multiple widgets listening to the publisher (through AVars) and they all get a message at the same time, They all receive the message in the Aff well enough, and can execute anything in the same liftAff, but only one widget actually advances to the next bind of the Widget. The others won't advance and after that seem to be hung in limbo.

If I add a random delay in the liftAff right after the message is received, everything works as expected (as long as they don't randomly choose the same time to update).

Is this a known limitation? If you'd like a minimal example, let me know and I'll make one.

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