function getCompVariantEntities(sReference) {
		const aEntities = [];
		const mCompEntities = FlexState.getCompVariantsMap(sReference);
		for (const sPersistencyKey in mCompEntities) {
			const mCompVariantsOfPersistencyKey = mCompEntities[sPersistencyKey];
			for (const sId in mCompVariantsOfPersistencyKey.byId) {
				aEntities.push(mCompVariantsOfPersistencyKey.byId[sId]);
			}
		}
		return aEntities;
	}
Waits for all the changes for all controls that are passed to be processed and a variant switch to be done.

@param {object[]} aSelectorInformation - An array containing an object with {@link sap.ui.fl.Selector} and further configuration
@param {sap.ui.fl.Selector} aSelectorInformation.selector - A {@link sap.ui.fl.Selector}
@param {string[]} [aSelectorInformation.changeTypes] - An array containing the change types that will be considered. If empty no filtering will be done
@returns {Promise} Resolves when a variant switch is done and all changes on controls have been processed