MCPcopy Create free account
hub / github.com/CodeGenieApp/serverless-express / makeResolver

Function makeResolver

src/make-resolver.js:1–8  ·  view source on GitHub ↗
({
  promise
})

Source from the content-addressed store, hash-verified

1function makeResolver ({
2 promise
3}) {
4 return {
5 succeed: ({ response }) => promise.resolve(response),
6 fail: ({ error }) => promise.reject(error)
7 }
8}
9
10module.exports = makeResolver

Callers 2

proxyFunction · 0.85
unit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…