TaskRunner Module
Contains a helper which can be used to implement timeouts and retries.
Functions and values
Function or value | Description |
Full Usage:
runWithRetries f retries
Parameters:
unit -> 'a
-
This function will be started.
retries : int
-
A retry limit.
Returns: 'a
|
Retries the given function until a retry limit is reached or the function succeeds without exception.
|
Full Usage:
waitFor f timeout testMS timeoutF
Parameters:
unit -> bool
-
This function will be started.
timeout : TimeSpan
-
A System.TimeSpan representing the timeout.
testMS : int
-
An interval at which FAKE checks if the function has succeeded.
timeoutF : unit -> unit
-
This function will be run if the timeout has been reached.
Returns: TimeSpan
|
|