MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / getWatchList

Function getWatchList

src/modules/prefs.js:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59export async function getWatchList() {
60 await defaultsInitialized;
61 if (!watchListBuffer) {
62 watchListBuffer = await mvelo.storage.get('mvelo.watchlist') ?? [];
63 }
64 return watchListBuffer;
65}
66
67// Firefox-only. Warm path is sync localStorage (microtask-only chain to
68// addListener for event-page wakeup). Any cold path reloads — addListener

Callers 4

mergeWatchlistFunction · 0.90
onOkMethod · 0.90
handleContentReadyMethod · 0.90
initScriptInjectionFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected