-
Updated
Jul 3, 2020 - TypeScript
state-machine
Here are 820 public repositories matching this topic...
I see in the documentatios there is this callbacks, but i didn't understand the purpose and how to use. Can u guys post some examples? Thanks!
old_state before_exit
old_state exit
-
Updated
Jun 29, 2020 - Python
I found a magic source + at
https://github.com/viewflow/django-fsm/blob/957e1d8535f1e8f31cd6f971f4ec6704eb1f2d9a/django_fsm/__init__.py#L166-L179
It seems undocumented, unless I missed it. It would be cool to have a sentence or two about it somewhere.
Thanks!
-
Updated
Apr 1, 2020 - Ruby
Documentation says there is a listener @OnTransitionDecline, however I can't find anything on how to trigger transition decline.
To give some context use case I'm working on right now: running computation in another service. There are four states: SUBMITTED - submits item to another system - IN PROGRESS - checks the status of item in another system. If still in progress state is not chang
-
Updated
Jun 22, 2020 - JavaScript
-
Updated
Jan 23, 2019 - JavaScript
If you think this will be the same for all apps you could just extract it into a separate .gradle file and apply to demo apps.
Something like:
./buildscript/configure-sample-app.gradle
apply plugin: 'com.android.application'
android {
defaultConfig {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
testOptions {
animationsDisabled = true
-
Updated
Oct 2, 2018 - JavaScript
-
Updated
May 13, 2020 - Ruby
hi, could you please provide an example of using parallel node ,all of your doc only provide the squence, fallback control node example. thx(^o^)/
-
Updated
Jun 2, 2020 - Python
-
Updated
May 28, 2020 - Ruby
-
Updated
Jul 12, 2017 - Java
-
Updated
Jun 27, 2020 - C#
-
Updated
May 23, 2020 - JavaScript
Would you consider putting Boost.SML into vcpkg? I know it's only a header, and trivial to install, but vcpkg is just so nice. At the very least, it would cause some people to find out about Boost.SML for the first time.
An example: https://github.com/microsoft/vcpkg/blob/master/docs/examples/packaging-github-repos.md
-
Updated
Jun 28, 2020 - JavaScript
-
Updated
Jul 3, 2020 - TypeScript
-
Updated
Jun 27, 2020 - TypeScript
-
Updated
May 24, 2020 - C++
Real world example?
Maybe take one from redux-sagas, would help people choose between the two.
I do like the concept of a more "lightweight" alternative.
https://twitter.com/maksim_ka2/status/913404270732615680
<?php
public function can(string $nodeLabel, string $action): bool
{
$stateNode = null;
foreach ($this->process->getNodes() as $node) {
if ($node->getLabel() === $nodeLabel) {
$stateNode = $node;
}
}
if (false == $stateNode) {
tImprove docs
Would be nice to improve the docs, make it clearer, simpler and easy to understand.
-
Updated
May 14, 2020 - C
-
Updated
Apr 25, 2020 - Swift
Improve this page
Add a description, image, and links to the state-machine topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the state-machine topic, visit your repo's landing page and select "manage topics."
Bug or feature request?
Documentation / feature proposal
Description:
Hi, I just implemented my first state machine on my React/TypeScript project with xstate ! I followed the documentation but I faced some issues. I would like to present some technical solutions and code snippets that I wrote to overcome those issues: