Skip to main content

StorageAdapter

StorageAdapter defines the contract for any storage backend that stores chunks.

It has two extensions, HashStorageAdapter and UrlStorageAdapter.


Properties

NameTypeDescription
type"hash" | "url"Identifies the adapter category.

Methods

MethodReturnsDescription
dispose()Promise<void>Disposes the storage connection if supported.