use allSettled
This commit is contained in:
parent
e51fcf296f
commit
c4f40b3549
5 changed files with 15 additions and 22 deletions
|
|
@ -183,7 +183,7 @@ export class Database {
|
|||
|
||||
const currentPromises = entry.updates;
|
||||
entry.updates = [...currentPromises, promise];
|
||||
await Promise.all(currentPromises);
|
||||
await Promise.allSettled(currentPromises);
|
||||
|
||||
return entry;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue