getService
Retrieves a service by its Kotlin type. Returns null if no service of the specified type is registered.
Return
the service instance of type S, or null if not found
Parameters
S
the type of service to retrieve
serviceType
the Kotlin type to look up
Retrieves a service by its registered name. Returns null if no service with the specified name is registered.
Return
the service instance of type S, or null if not found
Parameters
S
the type of service to retrieve
serviceName
the name of the service to look up