MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveConnectionValuesByRef

Function resolveConnectionValuesByRef

packages/core/sdk/src/executor.ts:2219–2228  ·  view source on GitHub ↗
(
      ref: ConnectionRef,
    )

Source from the content-addressed store, hash-verified

2217 );
2218
2219 const resolveConnectionValuesByRef = (
2220 ref: ConnectionRef,
2221 ): Effect.Effect<Record<string, string | null>, StorageFailure> =>
2222 foldResolutionFailure(
2223 Effect.gen(function* () {
2224 const row = yield* findConnectionRow(ref);
2225 if (!row) return {};
2226 return yield* resolveConnectionValues(row);
2227 }),
2228 );
2229
2230 // ------------------------------------------------------------------
2231 // Integrations

Callers 1

produceConnectionToolsFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValuesFunction · 0.85

Tested by

no test coverage detected