Skip to content

Aggregation of events from same transaction. #32

Description

@cend-gh

If a transaction is made, e.g. put 3 key changes at once, then its not possible via a watcher to get this changes at once. Therefore, it is not possible to determine when related changes have been fully received.

Each event of the same response is processed by its own, a watcher is not able to detect the end of a transaction this way.
watcher.py:

 for event in response.events:
        await self._process_callback(
            watcher_callback,
            rtypes.Event(
                event.type,
                event.kv,
                event.prev_kv if watcher_callback.prev_kv else None,
            ),
        )

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions