(...[variables, options]: Args<GraphQL.Variables<Op>, CallOptions<R2>>)
| 432 | |
| 433 | if (operation.kind === "subscription") { |
| 434 | const subscriptionMethod = <R2 = never>(...[variables, options]: Args<GraphQL.Variables<Op>, CallOptions<R2>>) => |
| 435 | Stream.unwrap(Effect.map(buildRequest(variables, options), (request) => subscribe(0, request))).pipe( |
| 436 | Stream.mapEffect(decodeStrict), |
| 437 | Stream.retry(retryPolicy), |
| 438 | Stream.provideContext(callContext(options)) |
| 439 | ) |
| 440 | return Object.assign(subscriptionMethod, { operation }) |
| 441 | } |
| 442 |
nothing calls this directly
no test coverage detected