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

Method sendKeyUpdate

src/controller/editor.controller.js:282–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 async sendKeyUpdate() {
283 // send updated key cache to editor
284 const keys = await getKeyData({keyringId: this.state.keyringId});
285 this.ports.editor.emit('key-update', {keys});
286 }
287
288 /**
289 * Open editor popup, called by other controllers.

Callers 1

onKeyLookupMethod · 0.95

Calls 2

getKeyDataFunction · 0.90
emitMethod · 0.45

Tested by

no test coverage detected