toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-actions-toolkit
/
actions.cache
/
retry
retry
suspend external
fun
<
T
>
retry
(
name
:
String
,
method
:
(
)
->
Promise
<
T
>
,
getStatusCode
:
(
arg0
:
T
)
->
Number
?
,
maxAttempts
:
Number
=
definedExternally
,
delay
:
Number
=
definedExternally
,
onError
:
(
JsError
)
->
T
?
?
=
definedExternally
)
:
T
(
source
)