Example for wait() with success function in FuncUnit

Can anybody please give me an example of how to use “wait” in funcUnit tests. I am trying to add some wait conditions with a checker but its not waiting. Please help me how can I resolve this issue.
Thanks in advance…

Can you share the code of what you are trying? Here’s an example of waiting until the text was changed to 2: