How to handle timeout event



I want to write the behavior like this

  • Sequence(WhileCondition)
        * 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?



I found the solution in tutorial link. :slight_smile: