mlx-bun library API
    Preparing search index...

    Holding a lease keeps the model resident; the holder must release it.

    interface ModelLease {
        loadMs: number;
        model: ResidentModel;
        operations: Partial<ModelOperations>;
        release(): void;
    }
    Index
    loadMs: number

    Milliseconds this acquire waited for the model to load; 0 when it was already resident.

    operations: Partial<ModelOperations>

    Only the operations the model declared.