Optional
options: CreateSessionOptions<Remove the record for the passed key
Optional
options: AbortOptions & ProgressOptions<DeleteBlockProgressEvents>Remove values for the passed keys
Optional
options: AbortOptions & ProgressOptions<DeleteManyBlocksProgressEvents>Retrieve the value stored under the given key
Optional
options: AbortOptions & GetOfflineOptions & ProviderOptions & ProgressOptions<Retrieve all cid/block pairs from the blockstore as an unordered iterable
Optional
options: AbortOptions & ProgressOptions<GetAllBlocksProgressEvents>Retrieve values for the passed keys
Optional
options: AbortOptions & GetOfflineOptions & ProviderOptions & ProgressOptions<Check for the existence of a value for the passed key
Optional
options: AbortOptions & ProgressOptions<HasBlockProgressEvents>Store the passed value under the passed key
Optional
options: AbortOptions & ProgressOptions<PutBlockProgressEvents>Store the given key/value pairs
Optional
options: AbortOptions & ProgressOptions<PutManyBlocksProgressEvents>
A blockstore session only fetches blocks from a subset of network peers to reduce network traffic and improve performance.
The initial set of peers can be specified, alternatively a
findProviders
routing query will occur to populate the set instead.