MCPcopy
hub / github.com/mailvelope/mailvelope / init

Method init

src/modules/autocryptWrapper.js:129–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 async init() {
130 if (this.initalized) {
131 return;
132 }
133 const attributes = await mvelo.storage.get(this.storageKey);
134 if (attributes) {
135 Object.keys(attributes).forEach(key => this.map.set(key, attributes[key]));
136 }
137 this.initialized = true;
138 }
139
140 get(key, cb) {
141 let value;

Callers 1

autocryptFunction · 0.45

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected