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.
- package/dist/command/actions.js +11 -11
- package/package.json +1 -1
package/dist/command/actions.js
CHANGED
|
@@ -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
|
-
|
|
180
|
-
|
|
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
|
-
},
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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
|
};
|