〜たかと思うと

"No sooner had… than": one thing happens, and the next follows at once.

Make a card in yomeroo

verb た-formかと思おもうと is literally "just as I thought it had…": the next thing happens before the first has properly sunk in. It tells a quick, often surprising run of events, one after another.

It is used about things seen from outside, not the speaker's own plans: what follows is something that happened, not a request or a decision. かと思えば and かと思ったら are the same.

The warrior in scarlet rides a great circle in front of the enemy, then all at once charges:

And again: he lowers his spear, and already three or four men are down.

Made-up example+ card
Made-up example+ card