Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sajeetharan.com_3_2_2019_eventsource
class Product
{
val id = 42;
fun update(...)
{
..
return ProductUpdatedEvent(42, “Mouse”, 1.99)
}
}
.....
.....
eventBus.publish(event)
eventStore.save(event)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment