Home > @xoram/core > ServiceFactory
ServiceFactory type
Build and return a service object, the provided app can be used to access already registered services or to listen to ApplicationHooks.
Signature:
typescript
export type ServiceFactory<service extends Service> = (application: Application) => service;
1
References: Service, Application