Cypher, the stall warner I'm familiar with is a small metal tab on the wing's leading edge called a vane. It flicks up when the airflow over it passes a certain angle, completing a circuit sounding a buzzer.
I think there are also other types that use pressure switches.