Class: ShardingStream
@web3-storage/upload-client.ShardingStream
Shard a set of blocks into a set of CAR files. By default the last block
received is assumed to be the DAG root and becomes the CAR root CID for the
last CAR output. Set the rootCID
option to override.
Hierarchy
TransformStream
↳
ShardingStream
Constructors
constructor
• new ShardingStream(options?
)
Parameters
Name | Type |
---|---|
options? | ShardingOptions |
Overrides
TransformStream.constructor