MCPcopy Create free account
hub / github.com/Effect-TS/effect / run

Function run

packages/effect/src/graphql/GraphQLClient.ts:410–415  ·  view source on GitHub ↗
(request: GraphQLRequest, forcePost: boolean)

Source from the content-addressed store, hash-verified

408 // Hands a resolver batch's URL to the transport only, so calls made by
409 // middleware resolve their own.
410 const run = (request: GraphQLRequest, forcePost: boolean) =>
411 internalGraphQL.ResolvedUrl.use((resolved) =>
412 resolved === undefined
413 ? execute(0, request, forcePost, undefined)
414 : execute(0, request, forcePost, resolved).pipe(Effect.provideService(internalGraphQL.ResolvedUrl, undefined))
415 )
416
417 const subscribe = (
418 index: number,

Callers 3

makeWebSocketFunction · 0.70
methodFunction · 0.70
makeMethodFunction · 0.70

Calls 4

executeFunction · 0.70
useMethod · 0.65
pipeMethod · 0.65
handlerFunction · 0.50

Tested by

no test coverage detected