mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Tighten the provider-label comments and docs
This commit is contained in:
1 parent
9b7d9ad537
commit
55e6c0017c
5 files changed
+7
-9
No files matched your search
@@ -53,8 +53,7 @@ export function createSubject({ state: layerState, services, parts, source }) {
|
||||
const vesselsState = sourceStates['ais-live-vessels'];
|
||||
const installationsState = sourceStates['military-installations'];
|
||||
const evaluatedAt = Date.now();
|
||||
// Whether the provider answered as a fallback or from a stale snapshot.
|
||||
// A poll in flight does not change that, and the source revision ignores it.
|
||||
// A poll in flight keeps FALLBACK or STALE: the revision key ignores loading.
|
||||
// Before the first answer there is no snapshot, so loading stays.
|
||||
const sourceStatus = (sourceState) => {
|
||||
const feedState = layerFeedState(
|
||||
|
||||
Reference in new issue
Block a user