8ca89b10eb
This refactoring was pulled out of https://github.com/home-assistant/core/pull/53676 as an initial step towards reverting the addition of the SegmentBuffer class, which will be unrolled back into a for loop. The StreamState class holds the persistent state in stream that is used across stream worker instantiations, e.g. state across a retry or url expiration, which primarily handles discontinuities. By itself, this PR is not a large win until follow up PRs further simplify the SegmentBuffer class. |
||
---|---|---|
.. | ||
auth | ||
components | ||
generated | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
async_timeout_backcompat.py | ||
block_async_io.py | ||
bootstrap.py | ||
config.py | ||
config_entries.py | ||
const.py | ||
core.py | ||
data_entry_flow.py | ||
exceptions.py | ||
loader.py | ||
package_constraints.txt | ||
requirements.py | ||
runner.py | ||
setup.py | ||
strings.json |