remove

fun <T : Publication.Service> remove(serviceType: KClass<T>)

Removes the service factory producing the given kind of service, if any.