await pMap()

in src/commands/entity_resolution.ts [437:447]


  await pMap(
    generator,
    async (operations) => {
      const res = await bulkUpsert(operations);
      if (res.errors) {
        progress.stop();
        console.log('Failed to index documents' + JSON.stringify(res));
        process.exit(1);
      }
      progress.increment(operations.length / 2);
    },