vertx / io.vertx.reactivex.servicediscovery / ServiceReference / cached

cached

open fun <T : Any> cached(): T

Gets the service object if already retrieved. It won't try to acquire the service object if not retrieved yet.

Return
the object, null if not yet retrieved