RootServiceFactoryOptions
Home > @backstage/backend-plugin-api
> RootServiceFactoryOptions
Signature:
export interface RootServiceFactoryOptions<TService, TInstances extends 'singleton' | 'multiton', TImpl extends TService, TDeps extends {
[name in string]: ServiceRef<unknown>;
}>
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
TDeps | |||
'always' | 'lazy' |
(Optional) The initialization strategy for the service factory. This service is root scoped and will use | ||
ServiceRef<TService, 'root', TInstances> |
Methods
Method |
Description |
---|---|