Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Persist thenReply does not fire (Kotlin/Java) for event beahviour

$
0
0

After persist I want to execute thenReply from my command handler. But it won’t fire using this structure:
Effect().persist(SomethingHappend(id)).thenReply(replyTo) { … }

If I do the tell explicitly then it does fire:
val persisted = Effect().persist(SomethingHappend(id))
replyTo.tell(…)
persisted

I am assuming it has something to do with types
Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles