Esempio n. 1
0
    def map(self, callable, iterable):
        """Submit *callable* with each of the items in ``*iterables``.

        All items in ``*iterables`` must be serializable in JSON.

        """
        iterable = task.get_actual_value(iterable)
        return super(Executor, self).map(callable, iterable)
Esempio n. 2
0
    def map(self, callable, iterable):
        """Submit *callable* with each of the items in ``*iterables``.

        All items in ``*iterables`` must be serializable in JSON.

        """
        iterable = task.get_actual_value(iterable)
        return super(Executor, self).map(callable, iterable)
Esempio n. 3
0
 def starmap(self, callable, iterable):
     iterable = task.get_actual_value(iterable)
     return super(Executor, self).starmap(callable, iterable)
Esempio n. 4
0
 def starmap(self, callable, iterable):
     iterable = task.get_actual_value(iterable)
     return super(Executor, self).starmap(callable, iterable)