hurok
Toggle table of contents
3.3.0
common
Target filter
common
Switch theme
Search in API
Skip to content
hurok
hurok-base
/
com.ekezet.hurok.dsl
/
pureLoop
pure
Loop
fun
<
TState
:
Any
,
TModel
:
Any
>
pureLoop
(
block
:
LoopBuilderScope
<
TState
,
TModel
>
.
(
)
->
Unit
)
:
LoopBuilder
<
TState
,
TModel
,
Unit
,
Unit
,
Action
<
TModel
,
Unit
>
>
@
JvmName
(
name
=
"pureLoopWithArgs"
)
fun
<
TState
:
Any
,
TModel
:
Any
,
TArgs
:
Any
>
pureLoop
(
block
:
LoopBuilderScopeWithArgs
<
TState
,
TModel
,
TArgs
>
.
(
)
->
Unit
)
:
LoopBuilder
<
TState
,
TModel
,
TArgs
,
Unit
,
Action
<
TModel
,
Unit
>
>