AutoDaggerInitializer

class AutoDaggerInitializer @Inject constructor(initializables: Set<@JvmSuppressWildcards Initializable>) : Initializable(source)

A class that can initialize multiple Initializable in order of their priority.

Since

1.0.0

Constructors

Link copied to clipboard
@Inject
constructor(initializables: Set<@JvmSuppressWildcards Initializable>)

Properties

Link copied to clipboard

If the initializer has been initialized or not (i.e. if initialize has been called).

Functions

Link copied to clipboard
open override fun initialize()

Initializes the provided Initializable. This method is thread safe and calling it multiple times will only initialize the initializables once.

Link copied to clipboard

Returns a new Initializable with the given priority.