(appId: string, dbName: StoreInterfaceStoreName)
| 6 | export default class InMemoryStore extends StoreInterface { |
| 7 | private store: Map<string, any>; |
| 8 | constructor(appId: string, dbName: StoreInterfaceStoreName) { |
| 9 | super(appId, dbName); |
| 10 | this.store = new Map(); |
| 11 | } |
| 12 | |
| 13 | async getItem(k) { |
| 14 | return this.store.get(k) ?? null; |
nothing calls this directly
no outgoing calls
no test coverage detected