| 1 | import * as Layer from "effect/Layer"; |
| 2 | import { makeReadSubscriptionBinding } from "./AccessHttp.ts"; |
| 3 | import { ReadSubscription } from "./ReadSubscription.ts"; |
| 4 | |
| 5 | /** |
| 6 | * HTTP implementation of {@link ReadSubscription} over the Pub/Sub REST API. |
| 7 | * |
| 8 | * @layer |
| 9 | * @provides GCP.PubSub.ReadSubscription |
| 10 | * @category PubSub |
| 11 | */ |
| 12 | export const ReadSubscriptionHttp = Layer.effect( |
| 13 | ReadSubscription, |
| 14 | makeReadSubscriptionBinding, |
| 15 | ); |