彼女が船室に入るやいなや明かりが消えた。She had hardly entered the cabin when the light went out.Break it down Tatoeba Pitch this sentence on OJAD