toggle menu
Simple Robot 组件 | Telegram
0.0.12
common
switch theme
search in API
simbot-component-telegram-stdlib
/
love.forte.simbot.telegram.stdlib.bot
/
LongPolling
/
Retry
Retry
@
Serializable
data
class
Retry
(
val
maxRetries
:
Int
=
3
,
val
delayMillis
:
Long
=
5000
,
val
isDelayMillisMultiplyByRetryTimes
:
Boolean
=
false
)
(
source
)
Members
Constructors
Retry
Link copied to clipboard
constructor
(
maxRetries
:
Int
=
3
,
delayMillis
:
Long
=
5000
,
isDelayMillisMultiplyByRetryTimes
:
Boolean
=
false
)
Properties
delay
Millis
Link copied to clipboard
val
delayMillis
:
Long
=
5000
is
Delay
Millis
Multiply
By
Retry
Times
Link copied to clipboard
val
isDelayMillisMultiplyByRetryTimes
:
Boolean
=
false
max
Retries
Link copied to clipboard
val
maxRetries
:
Int
=
3