Skip to content

Await complete

AwaitComplete class

def __init__(self, *awaitables):

An 'optionally-awaitable' object which runs one or more coroutines (or other awaitables) concurrently.

Parameter Default Description

One or more awaitables to run concurrently.

exception property

exception: BaseException | None

An exception if the awaitables failed.

is_done property

is_done: bool

True if the task has completed.

nothing classmethod

def nothing(cls):

Returns an already completed instance of AwaitComplete.