I’m trying to figure out how to have a response timeout if the subject doesn0t respond but move on immediately if the subject does respond. For example, if I use newKey (“FJ”) .wait() it waits forever. If I eliminate the .wait() and use a newTimer(5000) .start() .wait() it waits five seconds regardless of if the subject responds. What I want is if the subject responds it moves on immediately and if not, it moves on after five seconds.
This topic was modified 3 years, 5 months ago by carlap.