The flashing light on an emergency vehicle can send a request to a detector near a traffic signal. In one optical preemption system, a high-priority emitter pulses at about 14 times per second. The signal still clears conflicting traffic through yellow and red. Systems and confirmation lights vary by city.
Sources: GTT Opticom 794 LED Emitter datasheet: https://store.atstraffic.ca/img/product/description/Model-794-LED-Emitter-Data-Sheet.pdf ; US patent 8325062: https://patents.google.com/patent