public static Task<bool> Coroutine.Wait(TimeSpan maxWaitTimeout, Func<bool> condition)
Executes the wait operation with the supplied arguments.
maxWaitTimeoutTimeSpan- Specifies max wait timeout.
conditionFunc<bool>- Specifies condition.
Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.