dependsOnNothing

abstract fun Layer.dependsOnNothing()

Specifies that the current layer does not depend on any other layer.

Receiver

The Layer that does not depend on any other layer.

See also


Specifies that none of the layers in the collection depend on any other layer.

Example usage:

val layers = setOf(domainLayer, dataLayer)
layers.dependsOnNothing()

Receiver

The collection of Layers that should not depend on any other layer.

See also