class documentation

Base class for all asynchronous wrappers in the trcks.oop module.

Property core_as_coroutine The wrapped collections.abc.Awaitable object transformed into a coroutine.

Inherited from _Wrapper:

Method __init__ Construct wrapper.
Method __repr__ Return a string representation of the wrapper.
Property core The wrapped object.
Instance Variable _core Undocumented
core_as_coroutine: _T_co = (source) ΒΆ

The wrapped collections.abc.Awaitable object transformed into a coroutine.

This is useful for functions that expect a coroutine (e.g. asyncio.run).

Note

The attribute _AwaitableWrapper.core has type collections.abc.Awaitable, a superclass of collections.abc.Coroutine.