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

Function resolveConnectionValueByRef

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

Source from the content-addressed store, hash-verified

2206 );
2207
2208 const resolveConnectionValueByRef = (
2209 ref: ConnectionRef,
2210 ): Effect.Effect<string | null, StorageFailure> =>
2211 foldResolutionFailure(
2212 Effect.gen(function* () {
2213 const row = yield* findConnectionRow(ref);
2214 if (!row) return null;
2215 return yield* resolveConnectionValue(row);
2216 }),
2217 );
2218
2219 const resolveConnectionValuesByRef = (
2220 ref: ConnectionRef,

Callers 2

produceConnectionToolsFunction · 0.85
createExecutorFunction · 0.85

Calls 3

foldResolutionFailureFunction · 0.85
findConnectionRowFunction · 0.85
resolveConnectionValueFunction · 0.85

Tested by

no test coverage detected