Skip to content

BlockSuite API Documentation / @blocksuite/store / BlobManager

Interface: BlobManager

Properties

decreaseRef

decreaseRef: (blobId) => void

Parameters

blobId: string

Returns

void

Source

packages/framework/store/src/persistence/blob/types.ts:16


delete

delete: (key) => void | Promise<void>

Parameters

key: string

Returns

void | Promise<void>

Source

packages/framework/store/src/persistence/blob/types.ts:11


gc

gc: () => void | Promise<void>

Returns

void | Promise<void>

Source

packages/framework/store/src/persistence/blob/types.ts:14


get

get: (key) => null | Blob | Promise<null | Blob>

Parameters

key: string

Returns

null | Blob | Promise<null | Blob>

Source

packages/framework/store/src/persistence/blob/types.ts:9


increaseRef

increaseRef: (blobId) => void

Parameters

blobId: string

Returns

void

Source

packages/framework/store/src/persistence/blob/types.ts:15


list

list: () => string[] | Promise<string[]>

Returns

string[] | Promise<string[]>

Source

packages/framework/store/src/persistence/blob/types.ts:12


set

set: (value, key?) => string | Promise<string>

Parameters

value: Blob

key?: string

Returns

string | Promise<string>

Source

packages/framework/store/src/persistence/blob/types.ts:10


Generated using TypeDoc and typedoc-plugin-markdown.