Interface AnnotatedDatastore<T>
interface AnnotatedDatastore<T> { length: number; clear(): Promise<undefined>; getItem(keyName): Promise<null | T>; key(index): Promise<null | T>; removeItem(keyName): Promise<undefined>; setItem(keyName,
value): Promise<undefined>; } Methods
clear
- clear(): Promise<undefined>
Returns Promise<undefined>
getItem
- getItem(keyName): Promise<null | T>
Returns Promise<null | T>
key
- key(index): Promise<null | T>
Returns Promise<null | T>
removeItem
- removeItem(keyName): Promise<undefined>
Returns Promise<undefined>
setItem
- setItem(keyName, value): Promise<undefined>
Returns Promise<undefined>