Function
integrationLayer
(client: HttpClient.HttpClient)
Source from the content-addressed store, hash-verified
| 39 | } |
| 40 | |
| 41 | function integrationLayer(client: HttpClient.HttpClient) { |
| 42 | const replacement = [httpClient, Layer.succeed(HttpClient.HttpClient, client)] as const |
| 43 | return LayerNode.compile( |
| 44 | LayerNode.group([ |
| 45 | ShareNext.node, |
| 46 | EventV2Bridge.node, |
| 47 | Session.node, |
| 48 | SessionProjector.node, |
| 49 | AccountRepo.node, |
| 50 | Database.node, |
| 51 | ]), |
| 52 | [replacement], |
| 53 | ) |
| 54 | } |
| 55 | |
| 56 | const share = (id: SessionID) => |
| 57 | Effect.gen(function* () { |
Tested by
no test coverage detected