예제 #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)
예제 #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)
예제 #3
0
 def starmap(self, callable, iterable):
     iterable = task.get_actual_value(iterable)
     return super(Executor, self).starmap(callable, iterable)
예제 #4
0
 def starmap(self, callable, iterable):
     iterable = task.get_actual_value(iterable)
     return super(Executor, self).starmap(callable, iterable)