toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-test
/
me.ahoo.wow.test.saga.stateless
/
WhenStage
When
Stage
interface
WhenStage
<
T
:
Any
>
Stateless Saga:
when event
expect commands
Members
Functions
function
Filter
Link copied to clipboard
abstract
fun
functionFilter
(
filter
:
(
MessageFunction
<
*
,
*
,
*
>
)
->
Boolean
)
:
WhenStage
<
T
>
function
Name
Link copied to clipboard
open
fun
functionName
(
functionName
:
String
)
:
WhenStage
<
T
>
inject
Link copied to clipboard
open
fun
<
SERVICE
:
Any
>
inject
(
service
:
SERVICE
)
:
WhenStage
<
T
>
abstract
fun
<
SERVICE
:
Any
>
inject
(
service
:
SERVICE
,
serviceName
:
String
)
:
WhenStage
<
T
>
when
Link copied to clipboard
open
fun
when
(
event
:
Any
)
:
ExpectStage
<
T
>
abstract
fun
when
(
event
:
Any
,
state
:
Any
?
)
:
ExpectStage
<
T
>
when
Event
Link copied to clipboard
open
fun
whenEvent
(
event
:
Any
,
state
:
Any
?
=
null
)
:
ExpectStage
<
T
>