getService
-
wvc.getService() - getService(serviceName:
ServiceName): TRetrieves a service from the service registry by its name, throw if the service is not registered.
Parameters
serviceName:
ServiceNameThe name of the service to retrieve.Returns: T
T - The service if found, otherwise undefined.