featherbit UI
    Preparing search index...

    Function saveThreads

    • Persists the threads. On a quota error the oldest thread is dropped and the write retried until it fits; ok: false means even [] could not be written (blocked storage) — callers keep their in-memory list then.

      Parameters

      • threads: Thread[]
      • storage: Storage | null | undefined

      Returns SaveThreadsOutcome