asInitializable

@JvmName(name = "fromLazy")
fun Lazy<*>.asInitializable(priority: Int = AutoInitialize.defaultPriority): Initializable(source)

Converts the provided Lazy into an Initializable with the given priority (see AutoInitialize.priority).

When the returned Initializable is initialized, the lazy value is computed.

Since

1.0.0