lazyOrElse

inline fun <R : Any, U : R> ServiceContainer.lazyOrElse(crossinline block: () -> U): Lazy<R>(source)
fun <R : Any, U : R> ServiceContainer.lazyOrElse(clazz: KClass<R>, block: () -> U): Lazy<R>(source)
fun <R : Any, U : R> ServiceContainer.lazyOrElse(name: String, requiredType: KClass<R>, block: () -> U): Lazy<R>(source)
inline fun <R : Any, U : R> ServiceContainer.lazyOrElse(name: String, crossinline block: () -> U): Lazy<R>(source)