On Wed, Sep 7, 2016 at 3:47 PM, Patrik Nordwall <[email protected]> wrote:
> The documentation is talking about actor pairs, because you normally send > messages from an actor. In this example you don't send them from an actor, > but that doesn't matter. The tell methods are called in a specific order > since you invoke them from the same thread. Same would happen if the code > were running in an actor. > Huh -- this is something I hadn't known. Can you count upon the general principle that "messages sent from a single thread to a given Actor will arrive in the order they were sent"? I'm not really *surprised* if that's true (and I suspect I've implicitly assumed it without thinking about it a few times), but I don't think I've ever seen it stated in those terms, and it's useful to know one can count on it. It's probably worth stating in as many words *somewhere* in the docs if it's not already there... -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
