Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Commons
/
cz.acrobits.commons
/
repeatOnState
repeat
On
State
suspend
fun
<
T
:
Enum
<
T
>
>
StateFlow
<
T
>
.
repeatOnState
(
vararg
states
:
T
,
restartOnStateChange
:
Boolean
=
false
,
action
:
CoroutineScope
.
(
T
)
->
Unit
)