@interactive-inc/flume 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -545,6 +545,10 @@ var FlumeConfluence = class {
|
|
|
545
545
|
reconnect: this.props.reconnect
|
|
546
546
|
}).open();
|
|
547
547
|
if (running instanceof Error) return running;
|
|
548
|
+
if (this.running.has(id)) {
|
|
549
|
+
await running.close();
|
|
550
|
+
return new FlumeStartError(`FlumeConfluence: id already added: ${id}`);
|
|
551
|
+
}
|
|
548
552
|
this.running.set(id, running);
|
|
549
553
|
return null;
|
|
550
554
|
}
|
package/package.json
CHANGED