processus
Version:
A simple node workflow engine
32 lines (31 loc) • 784 B
JSON
{
"task 2": {
"description": "I am the task 2, I am calling back (async).",
"blocking": true,
"handler": "../taskhandlers/testHandler",
"parameters": {
"delay": 1000,
"error": false
},
"tasks":{
"task 2-1": {
"description": "I am the task 2-1, injected into the original (async).",
"blocking": true,
"handler": "../taskhandlers/testHandler",
"parameters": {
"delay": 1000,
"error": false
}
},
"task 2-2": {
"description": "I am the task 2-2, injected into the original (async).",
"blocking": true,
"handler": "../taskhandlers/testHandler",
"parameters": {
"delay": 1000,
"error": false
}
}
}
}
}