Module awaitable

Source
Expand description

The following classes are examples of objects which implement Python’s awaitable protocol.

Both IterAwaitable and FutureAwaitable will return a value immediately when awaited, see guide examples related to pyo3-async-runtimes for ways to suspend tasks and await results.

Modules§

awaitable 👻

Structs§

FutureAwaitable 🔒
IterAwaitable 🔒

Functions§

awaitable
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here