@wmfs/statebox
Version:
Orchestrate Node functions using Amazon States Language
33 lines (32 loc) • 674 B
JSON
{
"Comment": "Example from https://states-language.net/spec.html#parallel-state",
"StartAt": "FunWithMath",
"States": {
"FunWithMath": {
"Type": "Parallel",
"Branches": [
{
"StartAt": "Add",
"States": {
"Add": {
"Type": "Task",
"Resource": "module:Add",
"End": true
}
}
},
{
"StartAt": "Subtract",
"States": {
"Subtract": {
"Type": "Task",
"Resource": "module:Subtract",
"End": true
}
}
}
],
"End": true
}
}
}