IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface Configuration

    interface Configuration {
        queueSize: number;
        partSize: number;
        leavePartsOnError: boolean;
        tags: Tag[];
        abortController?: AbortController;
    }
    Index

    Properties

    queueSize: number

    The size of the concurrent queue manager to upload parts in parallel. Set to 1 for synchronous uploading of parts. Note that the uploader will buffer at most queueSize * partSize bytes into memory at any given time. default: 4

    partSize: number

    Default: 5 mb The size in bytes for each individual part to be uploaded. Adjust the part size to ensure the number of parts does not exceed maxTotalParts. See 5mb is the minimum allowed part size.

    leavePartsOnError: boolean

    Default: false Whether to abort the multipart upload if an error occurs. Set to true if you want to handle failures manually. If set to false (default) the upload will drop parts that have failed.

    tags: Tag[]

    The tags to apply to the object.

    abortController?: AbortController

    Optional abort controller for controlling this upload's abort signal externally.