Page MenuHomePhabricator

D10161.id34203.diff
No OneTemporary

D10161.id34203.diff

diff --git a/lib/utils/sequential-promise-resolver.js b/lib/utils/sequential-promise-resolver.js
--- a/lib/utils/sequential-promise-resolver.js
+++ b/lib/utils/sequential-promise-resolver.js
@@ -1,5 +1,7 @@
// @flow
+import { ignorePromiseRejections } from './promises.js';
+
class SequentialPromiseResolver<Result> {
onResolve: Result => Promise<mixed>;
promises: Array<Promise<?Result>> = [];
@@ -11,7 +13,7 @@
add(promise: Promise<?Result>) {
this.promises.push(promise);
- this.spinPromises();
+ ignorePromiseRejections(this.spinPromises());
}
async spinPromises() {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 2:26 AM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2582087
Default Alt Text
D10161.id34203.diff (606 B)

Event Timeline