Comments (5)
Since #183 got merged, this issue should be able to be closed.
from robot.
I think this is a valid way to model the behavior yeah. Are you saying it isn't working?
from robot.
I guess that in step2
the invoke form that I use is not valid, because its a function that returns a machine (dynamic machine) instead a promise. I think that could be a good API but in this moment is not supported
from robot.
Oh right, sorry. We do treat all functions as being promising-returning at the moment. That's an interesting pattern though. Maybe it's something we could support in the future.
from robot.
I made a PR to add support to this, hoping that you can review it 😁
from robot.
Related Issues (20)
- [Question] Using the returned objects in place of the function calls HOT 2
- A library to visualise Robot3 state machines HOT 1
- `onChange` not called for `immediate` states HOT 3
- Allow `action()`s to send events back to the fsm HOT 2
- **CRITICAL BUG** Interpret reference HOT 5
- Bring integrations into the main repo
- Get CI setup
- Automate release process
- The machine's current state is not updated when send is triggered HOT 1
- Feature request: Official qwik integration
- TypeError: Cannot read properties of undefined (reading 'default') HOT 4
- Method to check if transition is traversable
- [Question] How to update context while running invoke HOT 1
- How to start and await for a state machine's asynchronous execution? HOT 2
- Package path ./debug is not exported from package
- `immediate` with no transition?
- Not understanding how to use the API HOT 2
- Integration with Lit = integration with lit-based web components?
- [bug] Invoke should fire transitions only within its state
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 robot.