@terascope/file-asset-apis / base/chunked-file-sender / SendBatchConfig
Interface: SendBatchConfig
Defined in: base/chunked-file-sender.ts:23
The arguments for sendToFileDestination
Properties
Property | Modifier | Type | Description | Defined in |
---|---|---|---|---|
chunkGenerator | readonly | ChunkGenerator | Async Iterator that provides chunks of data to write | base/chunked-file-sender.ts:29 |
concurrency? | readonly | number | The amount of concurrent requests - currently only in s3 "simpleSend" multipart uploads but regular "send" uses concurrency on the batch level | base/chunked-file-sender.ts:41 |
count | readonly | number | The number of records to send, if this is set to -1 this count is unknown due to it being stored in an iterator | base/chunked-file-sender.ts:35 |
dest | readonly | string | The full path generated for filename | base/chunked-file-sender.ts:27 |
filename | readonly | string | The original filename | base/chunked-file-sender.ts:25 |
jitter? | readonly | number | How many milliseconds to delay if needed - i.e. waiting for pending requests to decrease below the concurrency limit if sender supports concurrency | base/chunked-file-sender.ts:47 |