{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/517","repository_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby","labels_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/517/comments","events_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/517/events","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/issues/517","id":137812335,"number":517,"title":"Cascaded promises evaluation","user":{"login":"shaggyone","id":207379,"avatar_url":"https://avatars.githubusercontent.com/u/207379?v=3","gravatar_id":"","url":"https://api.github.com/users/shaggyone","html_url":"https://github.com/shaggyone","followers_url":"https://api.github.com/users/shaggyone/followers","following_url":"https://api.github.com/users/shaggyone/following{/other_user}","gists_url":"https://api.github.com/users/shaggyone/gists{/gist_id}","starred_url":"https://api.github.com/users/shaggyone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaggyone/subscriptions","organizations_url":"https://api.github.com/users/shaggyone/orgs","repos_url":"https://api.github.com/users/shaggyone/repos","events_url":"https://api.github.com/users/shaggyone/events{/privacy}","received_events_url":"https://api.github.com/users/shaggyone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-02T08:56:53Z","updated_at":"2016-03-02T17:48:38Z","closed_at":"2016-03-02T12:37:32Z","body":"`Concurrent::Promise.execute { Concurrent::Promise.execute { 42 } }.value`\r\nreturns Promise object\r\n\r\ni believe it should return 42\r\n"},"comment":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/comments/191347293","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/issues/517#issuecomment-191347293","issue_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/517","id":191347293,"user":{"login":"jdantonio","id":173910,"avatar_url":"https://avatars.githubusercontent.com/u/173910?v=3","gravatar_id":"","url":"https://api.github.com/users/jdantonio","html_url":"https://github.com/jdantonio","followers_url":"https://api.github.com/users/jdantonio/followers","following_url":"https://api.github.com/users/jdantonio/following{/other_user}","gists_url":"https://api.github.com/users/jdantonio/gists{/gist_id}","starred_url":"https://api.github.com/users/jdantonio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdantonio/subscriptions","organizations_url":"https://api.github.com/users/jdantonio/orgs","repos_url":"https://api.github.com/users/jdantonio/repos","events_url":"https://api.github.com/users/jdantonio/events{/privacy}","received_events_url":"https://api.github.com/users/jdantonio/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T17:48:38Z","updated_at":"2016-03-02T17:48:38Z","body":"That's ES6. Our promises were *inspired* by JavaScript's Promises/A and Promises/A+ specification, as well as promises in other languages, but we've never intended or committed to implementing any particular specification (especially ES6 which wasn't finalized when we created our promises). One of the main issues is that JavaScript is a *very* different language with a *very* different runtime and *very* different asynchronous characteristics. Everything in this library is intended to reflect the Ruby language. Thus nothing in this library is exactly like the features of other languages which inspired us. The behavior of `Promise` is consistent with the other tools in this library and makes sense for Ruby."}}