UNPKG

@wdio/browserstack-service

Version:
19 lines 713 B
import type { UploadType } from './types.js'; export default class RequestQueueHandler { private queue; private readonly callback; private pollEventBatchInterval?; static tearDownInvoked: boolean; static instance: RequestQueueHandler; private constructor(); static getInstance(callback?: Function): RequestQueueHandler; add(event: UploadType): void; shutdown(): Promise<void>; startEventBatchPolling(): void; sendBatch(): Promise<void>; callCallback: (data: UploadType[], kind: string) => Promise<void>; resetEventBatchPolling(): void; removeEventBatchPolling(tag: string): void; shouldProceed(): boolean; } //# sourceMappingURL=request-handler.d.ts.map