{"action":"created","issue":{"url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/6","labels_url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/6/comments","events_url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/6/events","html_url":"https://github.com/hironytic/BFTaskPromise/pull/6","id":72346234,"number":6,"title":"implemented result casting for then and catch","user":{"login":"felix-dumit","id":1863251,"avatar_url":"https://avatars.githubusercontent.com/u/1863251?v=3","gravatar_id":"","url":"https://api.github.com/users/felix-dumit","html_url":"https://github.com/felix-dumit","followers_url":"https://api.github.com/users/felix-dumit/followers","following_url":"https://api.github.com/users/felix-dumit/following{/other_user}","gists_url":"https://api.github.com/users/felix-dumit/gists{/gist_id}","starred_url":"https://api.github.com/users/felix-dumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felix-dumit/subscriptions","organizations_url":"https://api.github.com/users/felix-dumit/orgs","repos_url":"https://api.github.com/users/felix-dumit/repos","events_url":"https://api.github.com/users/felix-dumit/events{/privacy}","received_events_url":"https://api.github.com/users/felix-dumit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-01T03:42:04Z","updated_at":"2015-05-21T15:55:40Z","closed_at":"2015-05-17T06:32:30Z","pull_request":{"url":"https://api.github.com/repos/hironytic/BFTaskPromise/pulls/6","html_url":"https://github.com/hironytic/BFTaskPromise/pull/6","diff_url":"https://github.com/hironytic/BFTaskPromise/pull/6.diff","patch_url":"https://github.com/hironytic/BFTaskPromise/pull/6.patch"},"body":"Implemented the result casting as we previously discussed in #2 \r\n\r\nSample use:\r\n\r\n```objc\r\n    [BFTask taskWithResult:@\"result\"].then ( ^id (NSString* result) {\r\n        return nil;\r\n    }).catch ( ^id (NSError* error) {\r\n        return nil;\r\n    }).finally ( ^id (BFTask *task) {\r\n        return nil;\r\n    });\r\n```\r\n\r\nI've updated the tests to use this syntax and it's all green.\r\n\r\nSorry I took a while to do this it's been a busy couple weeks."},"comment":{"url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/comments/104329993","html_url":"https://github.com/hironytic/BFTaskPromise/pull/6#issuecomment-104329993","issue_url":"https://api.github.com/repos/hironytic/BFTaskPromise/issues/6","id":104329993,"user":{"login":"felix-dumit","id":1863251,"avatar_url":"https://avatars.githubusercontent.com/u/1863251?v=3","gravatar_id":"","url":"https://api.github.com/users/felix-dumit","html_url":"https://github.com/felix-dumit","followers_url":"https://api.github.com/users/felix-dumit/followers","following_url":"https://api.github.com/users/felix-dumit/following{/other_user}","gists_url":"https://api.github.com/users/felix-dumit/gists{/gist_id}","starred_url":"https://api.github.com/users/felix-dumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felix-dumit/subscriptions","organizations_url":"https://api.github.com/users/felix-dumit/orgs","repos_url":"https://api.github.com/users/felix-dumit/repos","events_url":"https://api.github.com/users/felix-dumit/events{/privacy}","received_events_url":"https://api.github.com/users/felix-dumit/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T15:55:40Z","updated_at":"2015-05-21T15:55:40Z","body":"I like to changes you added as well. Good job :+1: "}}