Hierarchy

Properties

concurrentRequests?: number

The number of concurrent requests to store shards. Default 3.

connection?: ConnectionView<Service>
fetch?: {
    (input, init?): Promise<Response>;
    (input, init?): Promise<Response>;
}

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      Returns Promise<Response>

    • (input, init?): Promise<Response>
    • Parameters

      Returns Promise<Response>

fetchWithUploadProgress?: FetchWithUploadProgress
onShardStored?: ((meta) => void)

Type declaration

onUploadProgress?: ProgressFn
pieceHasher?: MultihashHasher<MulticodecCode<4113, "fr32-sha2-256-trunc254-padded-binary-tree">>
retries?: number
rootCID?: AnyLink

The root CID of the DAG contained in the shards. By default The last block is assumed to be the DAG root and becomes the CAR root CID for the last CAR output. Set this option to use this CID instead.

shardSize?: number

The target shard size. Actual size of CAR output may be bigger due to CAR header and block encoding data.

signal?: AbortSignal

Generated using TypeDoc