Changeset e29cc2e for trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/action-executor.js
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/action-executor.js
r59329aa re29cc2e 63 63 for (const action of actions) { 64 64 const execution = executor(action); 65 executions.set(execution, execution.then((result) => { 66 executions.delete(execution); 67 return result; 68 })); 65 executions.set(execution, execution.then((result) => [execution, result])); 69 66 } 70 67 while (executions.size > 0) { 71 yield Promise.race(executions.values()); 68 const [execution, result] = await Promise.race(executions.values()); 69 executions.delete(execution); 70 yield result; 72 71 } 73 72 }
Note:
See TracChangeset
for help on using the changeset viewer.