Waits until a condition is true or times out. The type of result to expect from the condition. A delegate taking a TSource as its parameter, and returning a TResult. If TResult is a boolean, the method returns when the condition is true, and otherwise.
(Func<T, TResult?> condition)
| 58 | /// If TResult is an object, the method returns the object when the condition evaluates to a value other than <see langword="null"/>.</returns> |
| 59 | /// <exception cref="ArgumentException">Thrown when TResult is not boolean or an object type.</exception> |
| 60 | [return: NotNull] |
| 61 | TResult Until<TResult>(Func<T, TResult?> condition); |
| 62 | } |
no outgoing calls