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