use allSettled
This commit is contained in:
parent
83c15a77c3
commit
17fa584ea1
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