Comments (3)
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.
While I think about it, there's a discussion in issue #527 about concurrency that may be relevant to you.
from stateless.
Thanks @mclift !
will integrate the library and see how to work with those conditions.
from stateless.
Related Issues (20)
- Can exit from any substates to superstate exit ? HOT 4
- EntryFrom displayed incorrectly on UmlDotGraph HOT 2
- InitialTransition in FiringMode.Immediate causes infinite loop HOT 1
- New example: Alarm HOT 1
- Introduce FiringMode.Serial HOT 14
- Async EntryActionBehaviour throws InvalidOperationException
- OnEntry does not get fired in a WinForms app HOT 3
- Add Direct License Information In Nuget metadata HOT 5
- RobiniaDocs API Explorer
- Is it possible to change the registered delegation method to event? HOT 2
- Using PermitIf on a state with substates seems to lead to reentry HOT 8
- Internal state transitions incorrectly list Entry actions in DOT graph export HOT 1
- Intermittent test failure in `LoseSyncContext()` HOT 1
- Handling of value based trigger parameters
- Add NuGet package README
- How To Use dynamic Stateless HOT 5
- Remove dependency from dirgraph format HOT 2
- Problem with Reentry in PermitDynamic in 5.14 HOT 6
- Add Chinese readme HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stateless.