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

Function resolveConnectionValuesByRef

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

Source from the content-addressed store, hash-verified

2157 );
2158
2159 const resolveConnectionValuesByRef = (
2160 ref: ConnectionRef,
2161 ): Effect.Effect<Record<string, string | null>, StorageFailure> =>
2162 foldResolutionFailure(
2163 Effect.gen(function* () {
2164 const row = yield* findConnectionRow(ref);
2165 if (!row) return {};
2166 return yield* resolveConnectionValues(row);
2167 }),
2168 );
2169
2170 // ------------------------------------------------------------------
2171 // Integrations

Callers 1

produceConnectionToolsFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValuesFunction · 0.85

Tested by

no test coverage detected