arch-orchestrator
Advanced tools
Comparing version 1.4.6 to 1.4.8
{ | ||
"name": "arch-orchestrator", | ||
"version": "1.4.6", | ||
"version": "1.4.8", | ||
"description": "Orchestrator for large node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -226,3 +226,23 @@ arch-orchestrator | ||
#### Breaking chain | ||
At some point you will maybe want to be able to break chain. So instead of downstreaming result, you will want to return from chain immediately. | ||
In that case you just need return ``object`` from some chain function. | ||
That object should have at least ``breakChain`` property with ``true`` value. | ||
```Javascript | ||
return { | ||
breakChain: true | ||
} | ||
``` | ||
You can also add some additional fields, so you can consume retuned additional fields, for example: | ||
```Javascript | ||
return { | ||
breakChain: true, | ||
message: 'this is some message which explains reason of chain break' | ||
} | ||
``` | ||
# License | ||
**MIT** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27589
248