Skip to content

Await remove

await_remove

Provides the type of an awaitable remove.

AwaitRemove

An awaitable returned by a method that removes DOM nodes.

Returned by Widget.remove and DOMQuery.remove.

__init__(finished_flag, task)

Initialise the instance of AwaitRemove.

Parameters:

Name Type Description Default
finished_flag Event

The asyncio event to wait on.

required
task Task

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

required