Search
Preparing search index...
The search index is not available
@atomist/sdm-pack-k8s
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/support/retry"
External module "lib/support/retry"
Index
Functions
log
Retry
Object literals
Default
Log
Retry
Options
Functions
log
Retry
log
Retry<T>
(
f
:
function
, desc
:
string
, options
?:
Options
)
:
Promise
<
T
>
Add logging to promise-based retry.
Type parameters
T
Parameters
f:
function
(
)
:
Promise
<
T
>
Returns
Promise
<
T
>
desc:
string
Default value
options:
Options
= DefaultLogRetryOptions
Returns
Promise
<
T
>
Object literals
Const
Default
Log
Retry
Options
Default
Log
Retry
Options
:
object
factor
factor
:
number
= 2
max
Timeout
max
Timeout
:
number
= 3 * 1000
min
Timeout
min
Timeout
:
number
= 0.1 * 1000
randomize
randomize
:
true
= true
retries
retries
:
number
= 5
Globals
"lib/support/retry"
log
Retry
Default
Log
Retry
Options
Generated using
TypeDoc
Add logging to promise-based retry.