mlx-bun library API
    Preparing search index...

    Exact reusable work, independent of token-prefix matching. The same cache owner chooses residency and persistence for objects and conversation state.

    interface ObjectCache<Value> {
        put(key: string, value: Value): void;
        take(key: string): Promise<{ value: Value; dispose(): void } | null>;
    }

    Type Parameters

    • Value
    Index