unitelabs.bus.commands.multiline
Functions
multiline(timeout : float) -> None
This decorator can be used in combination with the `_validate_response` method of `Command` to handle multi-line responses in which the standard `_validate_response` method would trigger an early exit. It creates a delay of `timeout` seconds to allow for more data to come in before calling the `_validate_response` method to set the `payload` of the `Response`.
Parameters
- Name
timeout
- Type
- float
- Default
- = 0.01
- Description
The wait time in seconds before calling the `_validate_response` method.