Git Product home page Git Product logo

Comments (3)

mclift avatar mclift commented on July 17, 2024

Hi,

If your transitions are being invoked from a single thread then the default FiringMode configuration, FiringMode.Queued, should ensure that each trigger is executed to completion before the next one is executed. So in the scenario where the same trigger is fired a second time before the transition started by the first trigger has completed, the second trigger will be queued until the running transition completes.

Stateless isn't designed to be thread-safe, so if your triggers could be fired from multiple threads then you may want to consider marshalling those calls into a single thread.

HTH!

from stateless.

mclift avatar mclift commented on July 17, 2024

While I think about it, there's a discussion in issue #527 about concurrency that may be relevant to you.

from stateless.

LiorBanai avatar LiorBanai commented on July 17, 2024

Thanks @mclift !
will integrate the library and see how to work with those conditions.

from stateless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.