I want to write the behavior like this
* Listen(timeout) <= if no input until timeout, then break WhileCondition
How can I implement this behavior scenario?
I tried to find timeout event & callback, then I could not find it.
Do I have to use JS setTimeout API?
Could you help me?