Imagine you’re on the phone with your mom and she keeps on talking. And talking. And talking. And you keep on listening and listening. And listening. Every now and then your mom will throw in a “you still there?” to which you will murmur “uh huh”.
And while your mom keeps talking, you feel the increasing urge to answer to something she said, but being well raised, you don’t want to interrupt her, but wait until she is finished.
mom.addEventListener("talk", sayUhHuh, false); mom.addEventListener("talk", reply, false);
Depending on your mom, the
event will fire frequently, and murmuring “uh huh” every tenth of a second might irritate her sooner or later. Worse, replying every tenth of a second will make the whole conversation incomprehensible.