GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Drains the outbox: pushes each pending operation and reconciles identities.

      Does not throw — each entry gets its outcome, and a failing entry stays in the queue with its counter incremented. failed is not terminal (contract): that is the guarantee a field capture comes back at the next drain rather than disappearing.

      Returns Promise<PushReport>

      The drain's real tally.

      const report = await GeoLeaf?.Storage?.pushOutbox?.();
      console.info(`${report?.pushed} poussées, ${report?.failed} à retenter`);