Glossary of Terms

async neutral

An object that may provide either of a regular or asynchronous implementation. For example, an async neutral iterable may support either regular for _ in iterable or asynchronous async for _ in iterable iteration.

borrowed object

Many async objects need to be cleaned up explicitly – for example, an asynchronous iterator should generally be aclosed after use (see PEP 533 for details). When borrowing such an object to a temporary owner, the original owner guarantees to clean up the object but prevents the temporary owner from doing so.