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

Function resolveConnectionValueByRef

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

Source from the content-addressed store, hash-verified

2146 );
2147
2148 const resolveConnectionValueByRef = (
2149 ref: ConnectionRef,
2150 ): Effect.Effect<string | null, StorageFailure> =>
2151 foldResolutionFailure(
2152 Effect.gen(function* () {
2153 const row = yield* findConnectionRow(ref);
2154 if (!row) return null;
2155 return yield* resolveConnectionValue(row);
2156 }),
2157 );
2158
2159 const resolveConnectionValuesByRef = (
2160 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