Page MenuHomePhabricator

D10161.diff
No OneTemporary

D10161.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
Fri, Nov 29, 3:31 PM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2597389
Default Alt Text
D10161.diff (606 B)

Event Timeline