code: def create_aggregator(self, subordinates):
          
          if not isinstance(subordinates, list):
              raise TypeError("subordinates can only be an instance of type list")
          for a in subordinates[:10]:
              if not isinstance(a, IEventSource):
                  raise TypeError(
                          "array can only contain objects of type IEventSource")
          result = self._call("createAggregator",
                       in_p=[subordinates])
          result = IEventSource(result)
          return result
docs: Creates an aggregator event source, collecting events from multiple sources.
          This way a single listener can listen for events coming from multiple sources,
          using a single blocking :py:func:`get_event`  on the returned aggregator.
  
          in subordinates of type :class:`IEventSource`
              Subordinate event source this one aggregates.
  
          return result of type :class:`IEventSource`
              Event source aggregating passed sources.