Note: This API documentation is for FAKE version 4. The migration API documentation can be found
here. The API documentation for the new fake 5 modules can be found
here
TaskRunnerHelper
Contains a helper which can be used to implement timeouts and retries.
Functions and values
Function or value | Description |
runWithRetries f retries
Signature: f:(unit -> 'a) -> retries:int -> 'a
Type parameters: 'a |
Retries the given function until a retry limit is reached or the function succeeds without exception. Parameters
|
waitFor f timeout testMS timeoutF
Signature: f:(unit -> bool) -> timeout:TimeSpan -> testMS:int -> timeoutF:(unit -> unit) -> TimeSpan
|
Waits until the given function returns true or the timeout is reached. Parameters
|