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
serviceType
the Kotlin type to look up
Type Parameters
S
the type of service to retrieve
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
serviceName
the name of the service to look up
Type Parameters
S
the type of service to retrieve