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.
Example
constreport = awaitGeoLeaf?.Storage?.pushOutbox?.(); console.info(`${report?.pushed} poussées, ${report?.failed} à retenter`);
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.
failedis not terminal (contract): that is the guarantee a field capture comes back at the next drain rather than disappearing.