Use messages instead of a single message (no cb here)

This commit is contained in:
Luke Murphy 2020-08-03 22:33:51 +02:00
parent 388c077534
commit 1a12b11e9a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ __all__ = ["SimpleMessageChannel"]
class SimpleMessageChannel:
"""A simple message channel."""
message: Optional[Tuple[int, int, bytes]] = None
messages: List[Tuple[int, int, bytes]] = attr.Factory(list)
varint: int = 0
factor: int = 1
length: int = 0