interface Persistence { getItem(key): Promise<null | Uint8Array>; setItem(key,
value): Promise<void>; } Methods
getItem
- getItem(key): Promise<null | Uint8Array>
Returns Promise<null | Uint8Array>
setItem
- setItem(key, value): Promise<void>
Parameters
- key: string
- value: Uint8Array
Returns Promise<void>