plus
operator fun DependencyKeyCovariance.plus(other: DependencyKeyCovariance): DependencyKeyCovariance(source)
Helper operator function for combining covariance logic.
Returns a composed function that results in the union of the two outputs.
For example, to match only the unnamed key of the input, and the named supertypes:
Supertypes + Unnamed
Content copied to clipboard
Combines two DependencyMap
s into one.
Where keys are common, precedence is given to the right-hand argument.
Return
A new DependencyMap instance that contains the keys of both.
Parameters
right
The DependencyMap to merge with.