Const
Service resolver backing the shared ProcessManagerRuntime.
Contributed by the process-manager capability module. Consumers can combine it with ServiceResolver$.provide to build space-scoped layers without having to go through the process-manager runtime:
const resolver = yield* Capability.get(Capabilities.ServiceResolver);yield* effect.pipe( Effect.provide( ServiceResolver.provide({ space }, Database.Service, Feed.FeedService).pipe( Layer.provide(Layer.succeed(ServiceResolver.ServiceResolver, resolver)), ), ),); Copy
const resolver = yield* Capability.get(Capabilities.ServiceResolver);yield* effect.pipe( Effect.provide( ServiceResolver.provide({ space }, Database.Service, Feed.FeedService).pipe( Layer.provide(Layer.succeed(ServiceResolver.ServiceResolver, resolver)), ), ),);
Service resolver backing the shared ProcessManagerRuntime.
Contributed by the process-manager capability module. Consumers can combine it with ServiceResolver$.provide to build space-scoped layers without having to go through the process-manager runtime: