Method WaitForAsync
WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan)
Declaration
public static Task<T1> WaitForAsync<TObject, T1>(this TObject instance, Func<TObject, T1> extractor, Predicate<T1> condition, TimeSpan timeout) where TObject : INotifyPropertyChanged
Parameters
Type | Name | Description |
---|---|---|
TObject | instance | |
Func<TObject, T1> | extractor | |
Predicate<T1> | condition | |
TimeSpan | timeout |
Returns
Type | Description |
---|---|
Task<T1> |
Type Parameters
Name | Description |
---|---|
TObject | |
T1 |