Open wilsonpage opened 7 years ago
To abstract clients from the complexities of declaring an item lost from several discovery mechanisms we need to move this into library code.
Scanners should keep internal items list. When items are found/lost, they are added/removed from this list.
When a client calls start for the first time, they should be notified of any items that already exist in the scanner's list.
@arcturus anything to add?
Sounds like a good plan.
To abstract clients from the complexities of declaring an item lost from several discovery mechanisms we need to move this into library code.
Scanners should keep internal items list. When items are found/lost, they are added/removed from this list.
When a client calls start for the first time, they should be notified of any items that already exist in the scanner's list.