Class DefaultRangePolicy
🏭 Constructors
constructor
ts
new DefaultRangePolicy(rangeThreshold: number, concurrency: number): DefaultRangePolicy
Parameters
- rangeThreshold:
number
- concurrency:
number
Return Type
DefaultRangePolicy
Defined in: packages/file-transfer/rangePolicy.ts:31
🏷️ Properties
concurrency
ts
concurrency: number
Defined in: packages/file-transfer/rangePolicy.ts:31
rangeThreshold
ts
rangeThreshold: number
Defined in: packages/file-transfer/rangePolicy.ts:31
🔧 Methods
computeRanges
ts
computeRanges(total: number): Range[]
Parameters
- total:
number
Return Type
Range[]
Defined in: packages/file-transfer/rangePolicy.ts:33