required

fun <T> required(initializer: M.() -> T): Delegate.Required<M, T>

Creates and registers delegate for a required (non-null) injectable property.

Return

Required (non-null) property delegate.

Parameters

initializer

Initializer function from the module context to value.