MCPcopy Create free account
hub / github.com/EsperoTech/yaade / wrapInPromiseResolutionHandler

Function wrapInPromiseResolutionHandler

server/src/main/resources/jasmine.js:7768–7776  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

7766 };
7767
7768 function wrapInPromiseResolutionHandler(fn) {
7769 return function(maybeArg) {
7770 if (j$.isError_(maybeArg)) {
7771 fn(maybeArg);
7772 } else {
7773 fn();
7774 }
7775 };
7776 }
7777
7778 return QueueRunner;
7779};

Callers 1

jasmine.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected