requires

infix fun ComponentRef.requires(capability: Capability)

Specifies that a component requires a capability.


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

Specifies that a component requires a set of capabilities.