Class WaitUntilOrTimeOut
A custom yield instruction that waits until a predicate is true or a timeout is reached.
Implements
Inherited Members
CustomYieldInstruction.MoveNext()
CustomYieldInstruction.Reset()
CustomYieldInstruction.Current
Namespace: Unity.AppUI.Tests
Assembly: solution.dll
Syntax
public class WaitUntilOrTimeOut : CustomYieldInstruction, IEnumerator
Constructors
Name | Description |
---|---|
WaitUntilOrTimeOut(Func<bool>, bool, TimeSpan?, string, string, int) | Constructor. |
Properties
Name | Description |
---|---|
keepWaiting | Returns true if the instruction should keep waiting. |