We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0805563 commit e702e59Copy full SHA for e702e59
packages/utils/src/promisebuffer.ts
@@ -1,5 +1,5 @@
1
import { SentryError } from './error';
2
-import { SyncPromise, syncPromiseReject } from './syncpromise';
+import { SyncPromise, syncPromiseAll, syncPromiseReject } from './syncpromise';
3
4
/** A simple queue that holds promises. */
5
export class PromiseBuffer<T> {
@@ -85,7 +85,7 @@ export class PromiseBuffer<T> {
85
}, timeout);
86
87
// if all promises resolve in time, cancel the timer and resolve to `true`
88
- void SyncPromise.all(this._buffer)
+ void syncPromiseAll(this._buffer)
89
.then(() => {
90
clearTimeout(capturedSetTimeout);
91
resolve(true);
0 commit comments