Currently only the Storage class supports determining the amount of data loss directly (via the method dataloss). While the user can always determine the data loss itself while the context manager for a data stream is active we might want to add another option to determine the data loss, especially since data loss might also happen, if the code is not able to read the buffer of the CAN adapter in time (#40).
Implementation
It might make sense to somehow add the current data loss value to the context manager for the streaming data. This would quite possibly come with a large performance penalty though.
Description
Currently only the
Storage
class supports determining the amount of data loss directly (via the methoddataloss
). While the user can always determine the data loss itself while the context manager for a data stream is active we might want to add another option to determine the data loss, especially since data loss might also happen, if the code is not able to read the buffer of the CAN adapter in time (#40).Implementation
It might make sense to somehow add the current data loss value to the context manager for the streaming data. This would quite possibly come with a large performance penalty though.