On this page
asyncio.future_discard_from_awaited_by
Prev: asyncio.future_add_to_awaited_by | Up: asyncio | Next: asyncio.FutureCallGraph
Rel: asyncio.AbstractEventLoop, asyncio.AbstractServer, asyncio.all_tasks, asyncio.as_completed
Ref: docs.python.org — asyncio.future_discard_from_awaited_by
Tags: #public #python3 #stdlib #asyncio
Import
import asyncio
from asyncio import future_discard_from_awaited_by
Signature & Overview
asyncio.future_discard_from_awaited_by(fut, waiter, /)
asyncio.future_discard_from_awaited_by() function.
Usage
import asyncio
# Python 3.14+ counterpart to future_add_to_awaited_by()
assert hasattr(asyncio, "future_discard_from_awaited_by")
Gotchas
- Requires Python 3.14+: Removes a waiter relationship once a custom future wait completes.
REPL Inspect
from asyncio import future_discard_from_awaited_by
help(future_discard_from_awaited_by)
Linked from
Related notes
- tuts/python3/stdlib_module/asyncio/future_add_to_awaited_by Linked here; links to this page; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/FutureCallGraph Linked here; links to this page; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/asyncio/AbstractEventLoop Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/AbstractServer Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/all_tasks Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/as_completed Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/Barrier shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/BaseEventLoop shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/BaseProtocol shared tags: #asyncio, #stdlib