WaitFor(TimeSpan, Func<bool>)
public Task<bool> WaitFor(TimeSpan timeout, Func<bool> checkFlag)Parameters
timeoutTimeSpancheckFlagFunc<bool>
Returns
Returns
true if operation completes before timeoutpublic Task<bool> WaitFor(TimeSpan timeout, Func<bool> checkFlag)timeoutTimeSpancheckFlagFunc<bool>true if operation completes before timeout