(input: I)
| 158 | } |
| 159 | return Object.assign(self, { |
| 160 | request(input: I) { |
| 161 | return Effect.withFiberRuntime<SqlRequest<T, A, E>, ParseError, RI>( |
| 162 | (fiber) => { |
| 163 | const span = fiber.currentContext.unsafeMap.get(Tracer.ParentSpan.key) |
| 164 | return Effect.map(encode(input), (encoded) => makeRequest(tag, input, encoded, span)) |
| 165 | } |
| 166 | ) |
| 167 | }, |
| 168 | cachePopulate(input: I, value: A) { |
| 169 | return Effect.cacheRequestResult(makeRequest(tag, input, null as any, null as any), Exit.succeed(value)) |
| 170 | }, |
nothing calls this directly
no test coverage detected