When the brake pedal is pushed down, air brakes work:

Because air takes time to flow through the air lines to the brakes, air brakes cannot begin working instantly. There is often a brake lag of at least one-half of a second between the moment the brake pedal is pressed and the moment the brakes begin to work.