tryGetService
-
wvc.tryGetService() - tryGetService(serviceName:
ServiceName): (undefined | T)Retrieves a service from the service registry by its name.
Parameters
serviceName:
ServiceNameThe name of the service to retrieve.Returns: (undefined | T)
- The service if found, otherwise undefined.