unicorn2
/
ru.dimsuz.unicorn2
/
StateDsl
State
Dsl
class
StateDsl
<
S
:
PS
,
PS
:
Any
,
E
:
Any
>(events:
Flow
<
E
>)
Content copied to clipboard
Functions
Properties
Functions
on
Each
Link copied to clipboard
inline fun <
P
>
onEach
(eventPayloads:
Flow
<
P
>, init:
TransitionDsl
<
S
,
PS
,
P
,
E
>.() ->
Unit
)
Content copied to clipboard
Properties
events
Link copied to clipboard
val
events
:
Flow
<
E
>
Content copied to clipboard