export class Paddle extends Context.Tag("Paddle")<
Paddle,
Effect.Effect.Success<ReturnType<typeof make>>
>() {
static readonly Live = (config: Config.Config.Wrap<PaddleConfig>) =>
Config.unwrap(config).pipe(Effect.flatMap(make), Layer.effect(this));
}
export class Paddle extends Context.Tag("Paddle")<
Paddle,
Effect.Effect.Success<ReturnType<typeof make>>
>() {
static readonly Live = (config: Config.Config.Wrap<PaddleConfig>) =>
Config.unwrap(config).pipe(Effect.flatMap(make), Layer.effect(this));
}