Vocabulary

かと思えば

no sooner than; as soon as; immediately after

expression