MCPcopy
hub / github.com/loopbackio/loopback-next / resolve

Function resolve

packages/context/src/value-promise.ts:232–238  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

230 return resolve(result);
231
232 function resolve(value: T) {
233 try {
234 return value;
235 } finally {
236 finalAction();
237 }
238 }
239
240 function reject(err: unknown): T | never {
241 try {

Callers 1

tryCatchFinallyFunction · 0.70

Calls 1

finalActionFunction · 0.85

Tested by

no test coverage detected