GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Re-reads the pull state of every layer.

      Never throws: unavailable persistence yields an empty state, and the report will say declaredNeverPulled — which is true from the observer's point of view.

      ⚠️ Only the entries speaking for the active profile's layers. An entry left by a pull from another source — a layer of the same id, declared elsewhere — is not this layer's state, and reads as absent (LayerPullState.sourceKey).

      Parameters

      • db: PreferenceStore | null | undefined

        The storage facade (GeoLeaf.Storage.DB).

      Returns Promise<Readonly<Record<string, LayerPullState>>>

      The per-layer state; {} when nothing was ever written or the read fails.

      const state = await readPullState(GeoLeaf?.Storage?.DB);
      console.info(state["sites_rosario"]?.outcome);