1. 7

  2. 1

    This is more or less the same as what this author did but Player actors should be able to handle an AskName message with a return-to address. No need for “promises”.

    1. 2

      Pony doesn’t have “return-to addresses” but you can explicitly pass an object to receive a reply. You can also pass a closure or any other object to receive the result. The downside is you end up programming in a continuation passing style when you want to compose the results of multiple calls. Promises are supposed to help with these more complicated situations.