both the khoya and sugar would start to liquefy. the consistency of blend would turn out to be somewhat thin. here we don’t have to cook the khoya all the more as the powdered almonds and pistachios help in tying the barfi. so as soon you see the blend percolating and somewhat thickening, expel the container from flame. don’t over cook as then the barfi will get to be chewy.