Wow
Toggle table of contents
10.0.0-beta.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Wow
benchmark-server
/
me.ahoo.wow.benchmark.transfer
/
Account
/
onCommand
on
Command
@
OnCommand
(
produces
=
[
AccountOpened::class
]
)
fun
onCommand
(
command
:
OpenAccount
)
:
Decision
@
OnCommand
(
produces
=
[
Deposited::class
]
)
fun
onCommand
(
command
:
Deposit
)
:
Decision
@
OnCommand
(
produces
=
[
Withdrawn::class
]
)
fun
onCommand
(
command
:
Withdraw
)
:
Decision
@
OnCommand
(
produces
=
[
AmountLocked::class
,
Prepared::class
]
)
fun
onCommand
(
command
:
Prepare
)
:
Decision
@
OnCommand
(
produces
=
[
AmountEntered::class
,
EntryFailed::class
]
)
fun
onCommand
(
command
:
Entry
)
:
Decision
fun
onCommand
(
command
:
Confirm
)
:
Confirmed
fun
onCommand
(
command
:
UnlockAmount
)
:
AmountUnlocked
@
OnCommand
(
produces
=
[
Annotated::class
]
)
fun
onCommand
(
command
:
Annotate
)
:
Decision
@
OnCommand
(
produces
=
[
AccountFrozen::class
]
)
fun
onCommand
(
command
:
FreezeAccount
)
:
Decision