BlockSuite API Documentation / @blocksuite/store / MemoryBlobCRUD
Class: MemoryBlobCRUD
Internal
just for test
Constructors
new MemoryBlobCRUD()
new MemoryBlobCRUD():
MemoryBlobCRUD
Returns
Methods
delete()
delete(
key
):void
Parameters
• key: string
Returns
void
Defined in
packages/framework/store/src/adapter/assets.ts:10
get()
get(
key
):null
|Blob
Parameters
• key: string
Returns
null
| Blob
Defined in
packages/framework/store/src/adapter/assets.ts:14
list()
list():
string
[]
Returns
string
[]
Defined in
packages/framework/store/src/adapter/assets.ts:18
set()
set(value)
set(
value
):Promise
<string
>
Parameters
• value: Blob
Returns
Promise
<string
>
Defined in
packages/framework/store/src/adapter/assets.ts:21
set(key, value)
set(
key
,value
):Promise
<string
>
Parameters
• key: string
• value: Blob
Returns
Promise
<string
>
Defined in
packages/framework/store/src/adapter/assets.ts:23