Interface: IServiceProvider
Interface: IServiceProvider
Interface representing a service provider within the system.
This interface provides lifecycle hooks for managing the registration, initialization, and termination phases of a provider. Implementations of this interface are expected to define these lifecycle methods as needed.
Properties
boot()?
optional boot: () => Promiseable<void>;
Boots the provider after registration. This method is used to initialize services that need to be started.
Returns
Promiseable<void>
mustSkip()?
optional mustSkip: () => Promiseable<boolean>;
Skip this provider.
Returns
Promiseable<boolean>
register()?
optional register: () => Promiseable<void>;
Registers the provider into the system. Typically used for adding services or bindings to the container.
Returns
Promiseable<void>
