MCPcopy
hub / github.com/streetwriters/notesnook / read

Method read

packages/core/src/interfaces.ts:50–50  ·  view source on GitHub ↗
(key: string, isArray?: boolean)

Source from the content-addressed store, hash-verified

48 writeMulti<T>(entries: [string, T][]): Promise<void>;
49 readMulti<T>(keys: string[]): Promise<[string, T][]>;
50 read<T>(key: string, isArray?: boolean): Promise<T | undefined>;
51 remove(key: string): Promise<void>;
52 removeMulti(keys: string[]): Promise<void>;
53 clear(): Promise<void>;

Callers 15

kvFunction · 0.65
initMethod · 0.65
readMethod · 0.65
lastBackupTimeMethod · 0.65
downloadMediaMethod · 0.65
initMethod · 0.65
getTokenMethod · 0.65
lastSyncedMethod · 0.65
publishMethod · 0.65
unpublishMethod · 0.65
getUserMethod · 0.65
getLegacyUserMethod · 0.65

Implementers 2

NNStorageapps/web/src/interfaces/storage.ts
NodeStorageInterfacepackages/core/__mocks__/node-storage.m

Calls

no outgoing calls

Tested by

no test coverage detected