GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Reads the queue and says what it owes.

      Never throws, and never invents: with no engine wired it answers zeros and null, which is what "there is no queue here" looks like — the caller then shows "nothing owed", which is true.

      Returns Promise<SyncStatus>

      The four facts, read in one pass.

      const s = await GeoLeaf?.Storage?.getSyncStatus?.();
      if (s && s.owed > 0 && !s.online) console.warn(`${s.owed} écriture(s) en attente de réseau`);