We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e8928 commit 4074c1cCopy full SHA for 4074c1c
Doc/library/asyncio-task.rst
@@ -540,6 +540,14 @@ Task functions
540
541
.. deprecated:: 3.4.4
542
543
+.. function:: wrap_future(future, \*, loop=None)
544
+
545
+ Wrap a :class:`concurrent.futures.Future` object in a
546
+ :class:`Future` object.
547
548
+ When the original :class:`concurrent.futures.Future` is completed
549
+ so is the wrapping :class:`Future`.
550
551
.. function:: gather(\*coros_or_futures, loop=None, return_exceptions=False)
552
553
Return a future aggregating results from the given coroutine objects or
0 commit comments