Akademik

не успеешь ... как...
НЕ УСПЕЛ <НЕ УСПЕЕШЬи т.п.>... КАК...
[used as temporal correlative conj; не успел etc is foll. by pfv infin; fixed order of clauses]
=====
(of two actions, one of which immediately follows the other) the moment one does one thing (or sth. happens) something else happens:
- hardly (barely)...when (and);
- no sooner...than.
     ♦ [Артемий Филиппович:] Больной не успеет войти в лазарет, как уже здоров... (Гоголь 4). [А.Е:] A sick man hardly gets into the infirmary and he's already well... (4a). [A.F:] A patient no sooner sets foot in the hospital than he's cured (4f).

Большой русско-английский фразеологический словарь. — М.: ACT-ПРЕСС КНИГА. . 2004.