Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
13 lines
517 B
Plaintext
13 lines
517 B
Plaintext
export interface PromiseBuffer<T> {
|
|
$: PromiseLike<T>[];
|
|
add(taskProducer: () => PromiseLike<T>): PromiseLike<T>;
|
|
drain(timeout?: number): PromiseLike<boolean>;
|
|
}
|
|
export declare const SENTRY_BUFFER_FULL_ERROR: unique symbol;
|
|
/**
|
|
* Creates an new PromiseBuffer object with the specified limit
|
|
* @param limit max number of promises that can be stored in the buffer
|
|
*/
|
|
export declare function makePromiseBuffer<T>(limit?: number): PromiseBuffer<T>;
|
|
//# sourceMappingURL=promisebuffer.d.ts.map
|