PluginServiceFactoryOptions
Home > @backstage/backend-plugin-api > PluginServiceFactoryOptions
Signature:
export interface PluginServiceFactoryOptions<TService, TInstances extends 'singleton' | 'multiton', TContext, 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 plugin scoped and will use | ||
|
ServiceRef<TService, 'plugin', TInstances> |
Methods
|
Method |
Description |
|---|---|
|
(Optional) | |