VaultAttachmentCache
Defined in: src/lib/chatStore/vaultAttachments.ts:64
Device-side store for decrypted attachment bytes, keyed by vault attachment id.
Methods
delete()
delete(
attachmentId:string):Promise<void>
Defined in: src/lib/chatStore/vaultAttachments.ts:67
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Promise<void>
get()
get(
attachmentId:string):Promise<Uint8Array<ArrayBufferLike> |null>
Defined in: src/lib/chatStore/vaultAttachments.ts:65
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Promise<Uint8Array<ArrayBufferLike> | null>
set()
set(
attachmentId:string,bytes:Uint8Array):Promise<void>
Defined in: src/lib/chatStore/vaultAttachments.ts:66
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Promise<void>
Last updated on