Layer being pulled.
Entities written so far, this page included.
The source's total when known, otherwise current — see totalIsKnown.
false when the server served no numberMatched: total is then a running count.
0-100, already scaled — consumers display it, they do not recompute it.
Detail payload for
geoleaf:offline:pull-progress— one page of a layer pull landed.🛑 A SEPARATE EVENT FROM
geoleaf:cache:progress, and the motive is measured. The tile/resource download reports throughcache/progress-tracker.ts, whose state is a MODULE-LEVEL singleton re-initialised per run. The feature pull runs after that run has already emitted its 100 %: feeding the same tracker would either reset a finished bar or make two producers share one mutable state. Two phases of one gesture, two signals.⚠️
totalis the SOURCE's total only when the source served it. OGC API Features carriesnumberMatched; a server omitting it leaves the loader with nothing but its own running count, andtotalthen equalscurrent— a bar that fills as it goes rather than a fraction of a known whole.totalIsKnownsays which of the two the consumer is looking at, because a progress bar that reaches 100 % three times is worse than one that never announces a percentage.