MCPcopy
hub / github.com/mailvelope/mailvelope / setState

Method setState

src/controller/sub.controller.js:90–93  ·  view source on GitHub ↗
(nextState)

Source from the content-addressed store, hash-verified

88 }
89
90 async setState(nextState) {
91 this.state = {...this.state, ...nextState};
92 await controllerPool.updateSession(this.id, this);
93 }
94
95 openSecuritySettings() {
96 const hash = '#/settings/security';

Callers 15

registerEventListenersFunction · 0.45
handleErrorFunction · 0.45
terminateFunction · 0.45
handleClickFunction · 0.45
registerEventListenersFunction · 0.45
onDisconnectFunction · 0.45
onTerminateFunction · 0.45
showFormFunction · 0.45
showErrorMsgFunction · 0.45
onClickSubmitFunction · 0.45
onValidatedFunction · 0.45
onFormSubmitCancelFunction · 0.45

Calls 1

updateSessionMethod · 0.80

Tested by

no test coverage detected