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

Function resolveConnectionValuesByRef

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

Source from the content-addressed store, hash-verified

2171 );
2172
2173 const resolveConnectionValuesByRef = (
2174 ref: ConnectionRef,
2175 ): Effect.Effect<Record<string, string | null>, StorageFailure> =>
2176 foldResolutionFailure(
2177 Effect.gen(function* () {
2178 const row = yield* findConnectionRow(ref);
2179 if (!row) return {};
2180 return yield* resolveConnectionValues(row);
2181 }),
2182 );
2183
2184 // ------------------------------------------------------------------
2185 // Integrations

Callers 1

produceConnectionToolsFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValuesFunction · 0.85

Tested by

no test coverage detected