adds cached option to async_iter

This commit is contained in:
Ilan Steemers
2015-10-06 19:37:02 +02:00
parent 913edcb3da
commit 2ba88f2d17
4 changed files with 38 additions and 9 deletions
+3 -2
View File
@@ -320,11 +320,12 @@ Reference
.. py:function:: async_iter(func, args_iter,**kwargs)
Runs iterable arguments against the cache backend and returns a single collated result
Runs iterable arguments against the cache backend and returns a single collated result.
Accepts the same options as :func:`async` except ``hook``.
:param object func: The task function to execute
:param args: An iterable containing arguments for the task function
:param dict kwargs: Keyword arguments for the task function. Ignores ``cached`` and ``hook``.
:param dict kwargs: Keyword arguments for the task function. Ignores ``hook``.
:returns: The uuid of the task
:rtype: str