export class Protocol extends Effect.Service<Protocol>()("...", {
effect: Effect.gen(function* () {
const { url } = yield* Env;
const host = Redacted.value(url);
return RpcClient.layerProtocolHttp({
url: host,
});
}),
dependencies: [Env.Default]
}) { }
export class Protocol extends Effect.Service<Protocol>()("...", {
effect: Effect.gen(function* () {
const { url } = yield* Env;
const host = Redacted.value(url);
return RpcClient.layerProtocolHttp({
url: host,
});
}),
dependencies: [Env.Default]
}) { }