A Hall effect sensor. It isn't as likely to fail as a reed switch would be in 200,000 plus miles car lifespan. It reacts quickly, and has no contact bounce like the reed switch. It is better than an optical solution as dirt and mud cannot disable it from sensing
www.topbuzz.co.uk