The main idea is that right now it's assumed that the same detector read in different streams yields a dictionary with the same keys. However, with a potential change where detectors in different modes can yield different results (for example, say a mode that ignores the stats plugins), this won't be true.
(The OEP for this is here ).
A while back I made these changes (in a different local branch) https://github.com/NSLS-II/bluesky/compare/master...jrmlhermitte:streaming-read2#diff-918281cac085be7995578c4c2c57cd4eR396
We should eventually extend to make the RunEngine stream aware. Pieces of this code could be used and tested here: https://github.com/NSLS-II/bluesky/compare/master...jrmlhermitte:streaming-read2#diff-918281cac085be7995578c4c2c57cd4eR396
The main idea is that right now it's assumed that the same detector read in different streams yields a dictionary with the same keys. However, with a potential change where detectors in different modes can yield different results (for example, say a mode that ignores the stats plugins), this won't be true. (The OEP for this is here ).
This should be an easy add.