Comments (2)
These are 2 ways to do the same thing: execute something at a specific time.
- Callbacks enable you to call a specific service/method with specific arguments.
- Events enable you to listen everything and use your own logic to filter when to execute something and with which argument.
from state-machine.
from state-machine.
Related Issues (17)
- Explain differences from Finite HOT 7
- Please tag the most recent commit. HOT 1
- [Feature Request] Stop Transtion in pre-listener HOT 9
- [RFC] Add a clear method to the factory
- Support for anonymous = triggerless = completion transitions HOT 1
- Question: how to set an "initial" state HOT 1
- Question: what's the best solution to be compatible with an exist numeric state? HOT 1
- Update symfony event dispatcher dependency to ^4 HOT 2
- remove wiki tab HOT 1
- Compatibility with symfony/event-dispatcher ^4.3 HOT 2
- foreach on null value in AbstractFactory HOT 1
- Composer Issue with PHP8 HOT 9
- DOC - mention of 6 states while there are only 4
- Impossible to use string constant or enum as a callback argument
- Support for php 8.0 or higher HOT 3
- Support for multiple transitions with the same name HOT 2
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 state-machine.