class documentation
class _AwaitableWrapper(_Wrapper[
Known subclasses: trcks.oop.AwaitableResultWrapper
, trcks.oop.AwaitableWrapper
Constructor: _AwaitableWrapper(core)
Base class for all asynchronous wrappers in the trcks.oop
module.
Property | core |
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 |
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
.