contentAddressedStorage()
Alias for consumers that name the same D82 helper by storage role rather than KV tier.
Import
Section titled “Import”import { contentAddressedStorage } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function contentAddressedStorage(opts: ContentAddressedStorageOptions<Ctx, V>): ContentAddressedStorage<Ctx, V>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | ContentAddressedStorageOptions<Ctx, V> | Options that configure the helper. |
Returns
Section titled “Returns”A ContentAddressedStorage<Ctx, V> value.
Example
Section titled “Example”import { contentAddressedStorage } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/content-addressed.ts