requires

infix fun ComponentRef.requires(capability: Capability)

Specifies that a component needs a capability to be executed.


infix fun ComponentRef.requires(capabilities: NonEmptySet<Capability>)

Specifies that a component needs a set of capabilities to be executed.