Description
Is your feature request related to a problem? Please describe.
For most test devices scanning works properly.
Whenever I scan with some specific devices that somehow scan very quickly however, I sometimes end up with duplicate barcodes, despite saving them in a local state and checking if duplicates are already in a map before each scan.
Describe the solution you'd like
I would like to have a timeout prop to specify a scan timeout in milliseconds after each scan.
Describe alternatives you've considered
Saving in a state seems not to work fully with these cases. It seems the Camera Barcode Reader triggers multiple times before the new state with the current barcode is set.
Using a timeout also does not guarantee that the duplicates are nor scanned. It is a similar issue compared to the map duplicate check it seems.