Skip to content

Await remove

An optionally awaitable object returned by methods that remove widgets.

AwaitRemove class

def __init__(self, finished_flag, task):

An awaitable returned by a method that removes DOM nodes.

Returned by Widget.remove and DOMQuery.remove.

Name Type Description Default
finished_flag Event

The asyncio event to wait on.

task Task

The task which does the remove (required to keep a reference).