Preparing search index...
The search index is not available
ixfx
ixfx
Flow
RetryTask
Type Alias RetryTask<T>
Retry
Task
<
T
>
:
{
probe
:
(
(
attempts
:
number
)
=>
Promise
<
Result
<
T
>
>
)
;
}
Type Parameters
T
Type declaration
probe
:
(
(
attempts
:
number
)
=>
Promise
<
Result
<
T
>
>
)
If
probe
returns {success:true} task is considered complete and retrying stops
(
attempts
)
:
Promise
<
Result
<
T
>
>
Parameters
attempts
:
number
Returns
Promise
<
Result
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
If
probe
returns {success:true} task is considered complete and retrying stops