ixfx
Preparing search index...
@ixfx/flow
RetryTask
Type Alias RetryTask<T>
type
RetryTask
<
T
>
=
{
probe
:
(
attempts
:
number
)
=>
Promise
<
Result
<
T
,
any
>
>
;
}
Type Parameters
T
Index
Properties
probe
Properties
probe
probe
:
(
attempts
:
number
)
=>
Promise
<
Result
<
T
,
any
>
>
If
probe
returns {success:true} task is considered complete and retrying stops
Type declaration
(
attempts
:
number
)
:
Promise
<
Result
<
T
,
any
>
>
Parameters
attempts
:
number
Returns
Promise
<
Result
<
T
,
any
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
probe
ixfx
Loading...
If
probe
returns {success:true} task is considered complete and retrying stops