(body: Stream.Stream<Uint8Array>)
| 71 | }, (client) => |
| 72 | Effect.gen(function*() { |
| 73 | const charge = (body: Stream.Stream<Uint8Array>) => |
| 74 | HttpClient.withScope(client).execute( |
| 75 | HttpClientRequest.post("https://api.test/charge").pipe( |
| 76 | HttpClientRequest.bodyStream(body) |
| 77 | ) |
| 78 | ).pipe(Effect.flip) |
| 79 | |
| 80 | const closed = yield* Scope.make() |
| 81 | yield* Scope.close(closed, Exit.void) |
no test coverage detected