Skip to content

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

Open
@mpdairy

Description

@mpdairy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions