forInstance

fun <T : Any> forInstance(instance: T): ServiceProducer<T>

Creates a producer for an already existing service instance.