MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / releaseCapacity

Method releaseCapacity

client/js/src/internal/upload/queue.ts:52–55  ·  view source on GitHub ↗
(expectedSize: number)

Source from the content-addressed store, hash-verified

50 */
51export class UploadQueue {
52 private totalFileUploads = 0;
53
54 private totalExpectedSize = 0;
55
56 async waitForCapacity(expectedSize: number | null, signal?: AbortSignal) {
57 await waitForCondition(
58 () =>

Callers 3

onFinishFunction · 0.45
onFinishFunction · 0.45
queue.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected