unicorn2
/
ru.dimsuz.unicorn2
/
MachineDsl
Machine
Dsl
class
MachineDsl
<
S
:
Any
,
E
:
Any
>
Content copied to clipboard
Functions
Properties
Functions
on
Each
Link copied to clipboard
inline fun <
P
>
onEach
(eventPayloads:
Flow
<
P
>, init:
TransitionDsl
<
S
,
S
,
P
,
E
>.() ->
Unit
)
Content copied to clipboard
when
In
Link copied to clipboard
inline fun <
T
:
S
>
whenIn
(init:
StateDsl
<
T
,
S
,
E
>.() ->
Unit
)
Content copied to clipboard
Properties
events
Link copied to clipboard
val
events
:
Flow
<
E
>
Content copied to clipboard
initial
Link copied to clipboard
var
initial
:
Pair
<
S
, suspend (
S
) ->
Unit
?>? = null
Content copied to clipboard
initialLazy
Link copied to clipboard
var
initialLazy
:
Pair
<suspend () ->
S
, suspend (
S
) ->
Unit
?>? = null
Content copied to clipboard