mlx-bun library API
    Preparing search index...

    Turns debounced prompt-cache puts into a durability boundary.

    A dirty record stays present until SpillQueue reports that its atomic store completed. Queue drops and write failures therefore remain retryable during an explicit flush or graceful shutdown.

    Index
    cloneCaches: (caches: Cache[]) => Cache[]
    debounceMs: number = 0
    isAlreadyDurable: (tokens: number[], ns: string) => boolean = ...
    onStored: () => void = ...
    retryMs: number = 5_000
    spillQueue: SpillQueue