qemu-cr16/python/qemu/aqmp
John Snow 6bfebc7306 python/aqmp: Return cleared events from EventListener.clear()
This serves two purposes:

(1) It is now possible to discern whether or not clear() removed any
event(s) from the queue with absolute certainty, and

(2) It is now very easy to get a List of all pending events in one
chunk, which is useful for the sync bridge.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210923004938.3999963-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2021-10-12 12:22:10 -04:00
..
__init__.py python/aqmp: add scary message 2021-09-27 12:10:29 -04:00
aqmp_tui.py python/aqmp-tui: Add syntax highlighting 2021-09-27 12:10:29 -04:00
error.py
events.py python/aqmp: Return cleared events from EventListener.clear() 2021-10-12 12:22:10 -04:00
message.py python/aqmp: add QMP Message format 2021-09-27 12:10:29 -04:00
models.py python/aqmp: add well-known QMP object models 2021-09-27 12:10:29 -04:00
protocol.py python/aqmp: add AsyncProtocol._readline() method 2021-09-27 12:10:29 -04:00
py.typed
qmp_client.py python/aqmp: add greeting property to QMPClient 2021-10-12 12:22:10 -04:00
util.py python/aqmp: add asyncio_run compatibility wrapper 2021-09-27 12:10:29 -04:00