{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/dustjs/issues/569","labels_url":"https://api.github.com/repos/linkedin/dustjs/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/dustjs/issues/569/comments","events_url":"https://api.github.com/repos/linkedin/dustjs/issues/569/events","html_url":"https://github.com/linkedin/dustjs/pull/569","id":62459788,"number":569,"title":"Thenable support","user":{"login":"sethkinast","id":1399532,"avatar_url":"https://avatars.githubusercontent.com/u/1399532?v=3","gravatar_id":"","url":"https://api.github.com/users/sethkinast","html_url":"https://github.com/sethkinast","followers_url":"https://api.github.com/users/sethkinast/followers","following_url":"https://api.github.com/users/sethkinast/following{/other_user}","gists_url":"https://api.github.com/users/sethkinast/gists{/gist_id}","starred_url":"https://api.github.com/users/sethkinast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethkinast/subscriptions","organizations_url":"https://api.github.com/users/sethkinast/orgs","repos_url":"https://api.github.com/users/sethkinast/repos","events_url":"https://api.github.com/users/sethkinast/events{/privacy}","received_events_url":"https://api.github.com/users/sethkinast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T17:01:10Z","updated_at":"2015-03-17T22:32:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/linkedin/dustjs/pulls/569","html_url":"https://github.com/linkedin/dustjs/pull/569","diff_url":"https://github.com/linkedin/dustjs/pull/569.diff","patch_url":"https://github.com/linkedin/dustjs/pull/569.patch"},"body":"Dust handles thenables (promises) in context, either directly or as the return value of a context helper. Dust will reserve a chunk asynchronously for the eventual return value of the promise.\r\n\r\nIf the promise is invoked as a reference, the reference will become the eventual return value. If the promise is invoked as a section, the eventual return value will be pushed onto the stack.\r\n\r\nThis allows Dust to integrate with third-party modules that don't know what Dust is, while still allowing those modules to make use of Dust's asynchronous nature seamlessly.\r\n\r\nCloses #568"},"comment":{"url":"https://api.github.com/repos/linkedin/dustjs/issues/comments/82625836","html_url":"https://github.com/linkedin/dustjs/pull/569#issuecomment-82625836","issue_url":"https://api.github.com/repos/linkedin/dustjs/issues/569","id":82625836,"user":{"login":"sethkinast","id":1399532,"avatar_url":"https://avatars.githubusercontent.com/u/1399532?v=3","gravatar_id":"","url":"https://api.github.com/users/sethkinast","html_url":"https://github.com/sethkinast","followers_url":"https://api.github.com/users/sethkinast/followers","following_url":"https://api.github.com/users/sethkinast/following{/other_user}","gists_url":"https://api.github.com/users/sethkinast/gists{/gist_id}","starred_url":"https://api.github.com/users/sethkinast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethkinast/subscriptions","organizations_url":"https://api.github.com/users/sethkinast/orgs","repos_url":"https://api.github.com/users/sethkinast/repos","events_url":"https://api.github.com/users/sethkinast/events{/privacy}","received_events_url":"https://api.github.com/users/sethkinast/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T22:32:22Z","updated_at":"2015-03-17T22:32:22Z","body":"#573 includes docs for this"}}