creation

public final Unit creation(CreationPattern creationPattern)

this function specify how the library is going to deal with the dependency instance

See also

Parameters

creationPattern

public final Unit creation(Function1<FactoryBuilder, CreationPattern> block)

this function specify how the library is going to deal with the dependency instance

See also

Parameters

block

is a lambda with CreationPattern as a return type