@engine9-io/input-tools 1.6.6 → 1.6.8
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/ForEachEntry.js +2 -1
- package/package.json +1 -1
package/ForEachEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ class ForEachEntry {
|
|
|
30
30
|
getTimelineOutputStream() {
|
|
31
31
|
return this.timelineOutputMutex.runExclusive(async () => {
|
|
32
32
|
if (this.outputStream) return this.outputStream;
|
|
33
|
-
const timelineFile = await getTempFilename({ postfix: '.csv' });
|
|
33
|
+
const timelineFile = await getTempFilename({ postfix: '.timeline.csv' });
|
|
34
34
|
debug(`Timeline output requested, writing timeline file to: ${timelineFile}`);
|
|
35
35
|
const timelineOutputStream = new ValidatingReadable({
|
|
36
36
|
objectMode: true,
|
|
@@ -150,6 +150,7 @@ class ForEachEntry {
|
|
|
150
150
|
debug('Completed all batches');
|
|
151
151
|
|
|
152
152
|
newStreams.forEach((s) => s.push(null));
|
|
153
|
+
await Promise.all(bindingPromises);
|
|
153
154
|
|
|
154
155
|
return { timelineFiles };
|
|
155
156
|
}
|