private suspend fun removeParticipants(participants: NodeSetPropertyDelegate.NodeSetProperty, toRemove: Collection<ID>, propertyName: String)
Removes IntraComponentDependencyParticipant from either incoming or outgoing participants Validates that all participants to remove are actually in part of the property
Parameters
participants
the set of all current participants
toRemove
ids of IntraComponentDependencyParticipants to remove
propertyName
the name of the property containing participants, used for error messages
Throws
in case the property is empty afterwards, or an id of a participant is not found in participants