Is it possible for one to be called but for the other to not be called?
For example, if a cid is already present in the datastore/linksystem but synced over graphsync. Or if a component returns err.
If so, would the processing logic continue to work correctly when that happens?
Consider moving as much of the logic to one place as possible to avoid this kind of edge cases.
The advertisement entry processing logic is spread across two components:
StorageWriteOpener
, andstorageHook
Considering the above;
Consider moving as much of the logic to one place as possible to avoid this kind of edge cases.