-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
It would be nice to clearly specify what a view can expect. I'm not sure this is correct:
- Messages will be processed in any order, even within a single feed (?)
- Messages will be processed exactly once each. If you have
storeStateandfetchStatethen processing will pick up where it left off last time; otherwise it starts from scratch each time. - What happens when only part of a hypercore is downloaded, and then the rest shows up later? Does the saved progress state assume a single moving front of completed processing or does it know there could be mixed regions of processed and unprocessed messages?
- If views want to persist their internal state (such as
sumin the example) they need to do that inmap(and not callnext()until the persist is complete) - What happens if your
mapdoesn't callnext()? Is this an ok way to abort processing? - Is it safe for a view to pause itself from inside
map?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels