Staging: this is not the live site, pydocs.org.
Networking and Interprocess Communication
Deprecated since 3.10. Deprecation warning is emitted if obj is not a Future-like object and loop is not specified and there is no running event loop.
Wrap a coroutine or an awaitable in a future.
If the argument is a Future, it is returned directly.
Changed in 3.5.1
- 3.5.1: The function accepts any awaitable object.