непосредственно перед тем как
• Just before the valve started to oscillate, the number of bubbles increased.
Источник:
Русско-английский научно-технический словарь
на Gufo.me
• Just before the valve started to oscillate, the number of bubbles increased.