exupery-core-async 0.3.44 → 0.3.45

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.
@@ -176,8 +176,8 @@ var p;
176
176
  return (0, create_command_promise_1.__create_command_promise)({
177
177
  'execute': (on_success, on_error) => {
178
178
  const errors = {};
179
- (0, create_asynchronous_processes_monitor_1.create_asynchronous_processes_monitor)((monitor) => {
180
- query.__start((dictionary) => {
179
+ query.__start((dictionary) => {
180
+ (0, create_asynchronous_processes_monitor_1.create_asynchronous_processes_monitor)((monitor) => {
181
181
  dictionary.map(($, key) => {
182
182
  monitor['report process started']();
183
183
  callback($, key).__start(() => {
@@ -187,15 +187,15 @@ var p;
187
187
  monitor['report process finished']();
188
188
  });
189
189
  });
190
- }, on_error);
191
- }, () => {
192
- if (Object.keys(errors).length === 0) {
193
- on_success();
194
- }
195
- else {
196
- on_error(aggregate_errors(_ei.dictionary_literal(errors)));
197
- }
198
- });
190
+ }, () => {
191
+ if (Object.keys(errors).length === 0) {
192
+ on_success();
193
+ }
194
+ else {
195
+ on_error(aggregate_errors(_ei.dictionary_literal(errors)));
196
+ }
197
+ });
198
+ }, on_error);
199
199
  }
200
200
  });
201
201
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-async",
3
- "version": "0.3.44",
3
+ "version": "0.3.45",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "async types for Exupery",