MCPcopy Index your code
hub / github.com/Effect-TS/effect / decodeSuccess

Function decodeSuccess

packages/ai/google/src/Generated.ts:4730–4731  ·  view source on GitHub ↗
(schema: S.Schema<A, I, R>)

Source from the content-addressed store, hash-verified

4728 )
4729 : (f) => (request) => Effect.flatMap(httpClient.execute(request), f)
4730 const decodeSuccess = <A, I, R>(schema: S.Schema<A, I, R>) => (response: HttpClientResponse.HttpClientResponse) =>
4731 HttpClientResponse.schemaBodyJson(schema)(response)
4732 // @ts-expect-error
4733 // eslint-disable-next-line @typescript-eslint/no-unused-vars
4734 const decodeError =

Callers 2

makeFunction · 0.70
parseStreamFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected