drupflare/worker - v1.0.0
    Preparing search index...

    Function latestImport

    • The newest COMPLETE stored import, or null.

      Completeness is checked rather than assumed, because this is the value shouldRollback() reads as "a restore point that actually exists" and a torn one does not exist as a restore point -- it is a database that gets half overwritten and then stops. storeImport() is atomic now, so a torn row cannot be created any more; this stays as the guard for one written before it was.

      Parameters

      Returns StoredImport | null