MCPcopy Create free account
hub / github.com/Effect-TS/effect / ServiceClass

Function ServiceClass

packages/effect/src/unstable/rpc/RpcMiddleware.ts:301–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 setStackTraceLimit(limit)
300
301 function ServiceClass() {}
302 const ServiceClass_ = ServiceClass as any as Mutable<AnyService>
303 Object.setPrototypeOf(ServiceClass, Object.getPrototypeOf(Context.Service<Self, any>(id)))
304 ServiceClass.key = id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected