# allComponents

abstract fun allComponents(action: Action<in ResolvedComponentResult>)(source)

Applies given action for each component. An instance of ResolvedComponentResult is passed as parameter to the action.

#### Since

1.10

#### Parameters

action

- action that is applied for each component

abstract fun allComponents(@DelegatesTo(value = ResolvedComponentResult::class) closure: Closure)(source)

Applies given closure for each component. An instance of ResolvedComponentResult is passed as parameter to the closure.

#### Since

1.10

#### Parameters

closure

- closure that is applied for each component