MCPcopy
hub / github.com/authts/oidc-client-ts / getItem

Method getItem

src/AsyncStorage.ts:14–14  ·  view source on GitHub ↗

Returns the current value associated with the given key, or null if the given key does not exist.

(key: string)

Source from the content-addressed store, hash-verified

12 clear(): Promise<void>;
13 /** Returns the current value associated with the given key, or null if the given key does not exist. */
14 getItem(key: string): Promise<string | null>;
15 /** Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs. */
16 key(index: number): Promise<string | null>;
17 /**

Callers 5

followLinksFunction · 0.65
getMethod · 0.65
removeMethod · 0.65
State.test.tsFile · 0.65

Implementers 1

InMemoryWebStoragesrc/InMemoryWebStorage.ts

Calls

no outgoing calls

Tested by

no test coverage detected