Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arch-orchestrator

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arch-orchestrator - npm Package Compare versions

Comparing version 1.4.6 to 1.4.8

2

package.json
{
"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**
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc