Search
Preparing search index...
The search index is not available
muta-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
muta-client
Retry
Class Retry<T>
Type parameters
T
Hierarchy
Retry
Index
Constructors
constructor
Properties
interval
on
Resolve
promise
Thunk
timeout
Methods
start
with
Check
with
Interval
with
Promise
with
Timeout
from
Constructors
constructor
new
Retry
(
thunk
:
PromiseThunk
<
T
>
)
:
Retry
Parameters
thunk:
PromiseThunk
<
T
>
Returns
Retry
Properties
Private
interval
interval
:
number
= DEFAULT_RETRY_INTERVAL
Private
on
Resolve
on
Resolve
:
CheckPromise
<
T
>
Private
promise
Thunk
promise
Thunk
:
PromiseThunk
<
T
>
Private
timeout
timeout
:
number
= DEFAULT_RETRY_TIMEOUT
Methods
start
start
(
)
:
Promise
<
T
>
Returns
Promise
<
T
>
with
Check
with
Check
(
check
?:
CheckPromise
<
T
>
)
:
this
Parameters
Optional
check:
CheckPromise
<
T
>
Returns
this
with
Interval
with
Interval
(
interval
:
number
)
:
this
Parameters
interval:
number
Returns
this
with
Promise
with
Promise
(
promiseThunk
:
(
)
=>
Promise
<
T
>
)
:
this
Parameters
promiseThunk:
(
)
=>
Promise
<
T
>
(
)
:
Promise
<
T
>
Returns
Promise
<
T
>
Returns
this
with
Timeout
with
Timeout
(
timeout
:
number
)
:
this
Parameters
timeout:
number
Returns
this
Static
from
from<T>
(
promiseThunk
:
(
)
=>
Promise
<
T
>
)
:
Retry
<
T
>
Type parameters
T
Parameters
promiseThunk:
(
)
=>
Promise
<
T
>
(
)
:
Promise
<
T
>
Returns
Promise
<
T
>
Returns
Retry
<
T
>
Globals
muta-
account
muta-
client
muta-
client-
raw
muta-
defaults
muta-
sdk
muta-
service
muta-
types
muta-
utils
muta-
wallet
Retry
constructor
interval
on
Resolve
promise
Thunk
timeout
start
with
Check
with
Interval
with
Promise
with
Timeout
from
Generated using
TypeDoc