Stop in for a cup of coffee

It’s vacuum controlled and has cable that attached to the carb.
That was not the question. How does it know what speed you are going?