onSourcing

fun onSourcing(orderCreated: OrderCreated)

Applies the initial event without external dependencies. The conventional onSourcing name makes the sourcing annotation optional.


fun onSourcing(addressChanged: AddressChanged)
fun onSourcing(orderShipped: OrderShipped)
fun onSourcing(orderReceived: OrderReceived)