Skip to main content

@terascope/file-asset-apis / base/chunked-file-sender / SendBatchConfig

Interface: SendBatchConfig

Defined in: base/chunked-file-sender.ts:23

The arguments for sendToFileDestination

Properties

PropertyModifierTypeDescriptionDefined in
chunkGeneratorreadonlyChunkGeneratorAsync Iterator that provides chunks of data to writebase/chunked-file-sender.ts:29
concurrency?readonlynumberThe amount of concurrent requests - currently only in s3 "simpleSend" multipart uploads but regular "send" uses concurrency on the batch levelbase/chunked-file-sender.ts:41
countreadonlynumberThe number of records to send, if this is set to -1 this count is unknown due to it being stored in an iteratorbase/chunked-file-sender.ts:35
destreadonlystringThe full path generated for filenamebase/chunked-file-sender.ts:27
filenamereadonlystringThe original filenamebase/chunked-file-sender.ts:25
jitter?readonlynumberHow many milliseconds to delay if needed - i.e. waiting for pending requests to decrease below the concurrency limit if sender supports concurrencybase/chunked-file-sender.ts:47