MCPcopy
hub / github.com/tiagozip/cap / dispatch

Method dispatch

widget/src/wasm-hashes.min.js:57–66  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

55 );
56 }
57 dispatch(e) {
58 return t(this, void 0, void 0, function* () {
59 const t = yield this.lock();
60 try {
61 return yield Promise.resolve(e());
62 } finally {
63 t();
64 }
65 });
66 }
67 }
68 var A;
69 const i =

Callers 1

uFunction · 0.80

Calls 3

lockMethod · 0.95
eFunction · 0.85
tFunction · 0.70

Tested by

no test coverage detected