scope
@quik/services / ServicesStore / scope
Function: scope()
scope<
Service>(service,serviceScope?):Service
Defined in: services/src/store.ts:195
Retrieve a service instance bound to a scope.
Type Parameters
Service
Service extends QService
Parameters
service
string | Constructor<Service>
The service to obtain.
serviceScope?
The scope applied to the service clone.
Returns
Service