MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / #exec

Method #exec

src/lib/auth.js:95–99  ·  view source on GitHub ↗

* Helper to wrap cordova.exec in a Promise

(action, args = [])

Source from the content-addressed store, hash-verified

93 * Helper to wrap cordova.exec in a Promise
94 */
95 #exec(action, args = []) {
96 return new Promise((resolve, reject) => {
97 cordova.exec(resolve, reject, "Authenticator", action, args);
98 });
99 }
100
101 async logout() {
102 try {

Callers 2

onIntentReceiverMethod · 0.95
logoutMethod · 0.95

Calls 1

execMethod · 0.65

Tested by

no test coverage detected