unitelabs.bus.commands.response
Classes
Response
Protocols use `Response`s to specify data that is received from a transport.
- Decorators
- dataclasses.dataclass
Methods
__post_init__(self) -> None
__handle_done(self, _payload : asyncio.Future[bytes]) -> None
The callback to be run when the payload `Future` becomes done.
Parameters
- Name
self
- Type
- Default
- Description
- Name
_payload
- Type
- asyncio.Future[bytes]
- Default
- Description
The `Future` object.
Attributes
- Name
request
- Type
- Request
- Value
= None
- Description