4 ms·
At a glance: Sending a message is simply a function call. Whereas in Akka it's the ask pattern where you have to manually reify the function call parameters in
by ackfoobar 4y ago
At a glance:
Sending a message is simply a function call. Whereas in Akka it's the ask pattern where you have to manually reify the function call parameters into a case class.
If you want to wait in processing a message in Akka, you either have to juggle the message queue with stashing or block a thread. In Orbit it is a `suspend` fun.
- joostdevries 4y agoIt's an interesting idea; not having to stash messages in the actor implementation when doing an async call. I did a little experiment what that could look like using Akka and kotlin suspend functions https://github.com/joost-de-vries/akka-kotlin https://github.com/joost-de-vries/akka-kotlin