Repository navigation
Commit 54a2bda
committed
fix: feed waiter re-checks history after yielding, viewed() includes above-span records
- shelf server: after the for-of loop finishes the captured history iterator,
check the current shelf.history for unseen events before parking on a waiter,
so a write that replaced the array while the generator was paused at yield is
not missed.
- store viewed(): also return true when a value falls above a shifted view's
span (start > 0), so putRecord's created-reload path fires for feed puts of
new records that should shift a paginated window.1 parent 7bdd2df commit 54a2bda
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
1545 | | - | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1546 | 1549 | | |
1547 | 1550 | | |
1548 | 1551 | | |
| |||
0 commit comments