Calculating the outcome of an election in real time as soon as the first polling stations close.