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

Method setItem

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

* Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously. * * Throws a "QuotaExceededError" DOMException exception if the new value couldn't be set. (Setting could fail if, e.g., the user has disabled storage for the site, or

(key: string, value: string)

Source from the content-addressed store, hash-verified

28 * Dispatches a storage event on Window objects holding an equivalent Storage object.
29 */
30 setItem(key: string, value: string): Promise<void>;
31}

Callers 4

toggleLinksFunction · 0.65
setMethod · 0.65
State.test.tsFile · 0.65

Implementers 1

InMemoryWebStoragesrc/InMemoryWebStorage.ts

Calls

no outgoing calls

Tested by

no test coverage detected