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

Function resolveConnectionValueByRef

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

Source from the content-addressed store, hash-verified

2065 );
2066
2067 const resolveConnectionValueByRef = (
2068 ref: ConnectionRef,
2069 ): Effect.Effect<string | null, StorageFailure> =>
2070 foldResolutionFailure(
2071 Effect.gen(function* () {
2072 const row = yield* findConnectionRow(ref);
2073 if (!row) return null;
2074 return yield* resolveConnectionValue(row);
2075 }),
2076 );
2077
2078 const resolveConnectionValuesByRef = (
2079 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