C# Class Duplicity.Specifications.Wait

Wait until the given predicate evaluates to true before continuing execution. Re-evaluates the predicate until it is true or the timeout period elapses when a TimeoutException is thrown.
Show file Open project: slashdotdash/Duplicity

Public Methods

Method Description
Until ( Func waitPredicate ) : void
Until ( Func waitPredicate, System.TimeSpan timeout, System.TimeSpan retryInterval ) : void

Method Details

Until() public static method

public static Until ( Func waitPredicate ) : void
waitPredicate Func
return void

Until() public static method

public static Until ( Func waitPredicate, System.TimeSpan timeout, System.TimeSpan retryInterval ) : void
waitPredicate Func
timeout System.TimeSpan
retryInterval System.TimeSpan
return void