Possibly you are thinking of the "Le Passé Proche" using venir de + infinitive e.g.
"Je viens de finir mon livre" - "I've just finished my book"
It's explained here:
Expressing the close past in French using "venir de" + [infinitive] (Le Passé Proche)