MCPcopy Index your code
hub / github.com/Effect-TS/effect / UsersClient

Class UsersClient

packages/platform-browser/test/fixtures/rpc-schemas.ts:176–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }))
175
176export class UsersClient extends Context.Tag("UsersClient")<
177 UsersClient,
178 RpcClient.RpcClient<RpcGroup.Rpcs<typeof UserRpcs>, RpcClientError>
179>() {
180 static layer = Layer.scoped(UsersClient, RpcClient.make(UserRpcs)).pipe(
181 Layer.provide(AuthClient)
182 )
183 static layerTest = Layer.scoped(UsersClient, RpcTest.makeClient(UserRpcs)).pipe(
184 Layer.provide([UsersLive, AuthLive, TimingLive, AuthClient])
185 )
186}

Callers

nothing calls this directly

Calls 3

pipeMethod · 0.65
makeMethod · 0.65
provideMethod · 0.65

Tested by

no test coverage detected