{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/1807","labels_url":"https://api.github.com/repos/atom/electron/issues/1807/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/1807/comments","events_url":"https://api.github.com/repos/atom/electron/issues/1807/events","html_url":"https://github.com/atom/electron/pull/1807","id":82024952,"number":1807,"title":"protocol: supporting async request jobs","user":{"login":"deepak1556","id":964386,"avatar_url":"https://avatars.githubusercontent.com/u/964386?v=3","gravatar_id":"","url":"https://api.github.com/users/deepak1556","html_url":"https://github.com/deepak1556","followers_url":"https://api.github.com/users/deepak1556/followers","following_url":"https://api.github.com/users/deepak1556/following{/other_user}","gists_url":"https://api.github.com/users/deepak1556/gists{/gist_id}","starred_url":"https://api.github.com/users/deepak1556/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepak1556/subscriptions","organizations_url":"https://api.github.com/users/deepak1556/orgs","repos_url":"https://api.github.com/users/deepak1556/repos","events_url":"https://api.github.com/users/deepak1556/events{/privacy}","received_events_url":"https://api.github.com/users/deepak1556/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-28T16:49:16Z","updated_at":"2015-06-09T09:34:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/electron/pulls/1807","html_url":"https://github.com/atom/electron/pull/1807","diff_url":"https://github.com/atom/electron/pull/1807.diff","patch_url":"https://github.com/atom/electron/pull/1807.patch"},"body":"Fixes #410 \r\n\r\nHave started with an api like\r\n\r\n```js\r\nprotocol.RequestAsyncJob(<jobtype>, function(cb) {\r\n  cb(<object>)\r\n})\r\n```\r\n\r\n- [x] support all existing sync jobs\r\n- [x] Add Tests\r\n- [ ] buffer data goes out of context in callback"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/110294028","html_url":"https://github.com/atom/electron/pull/1807#issuecomment-110294028","issue_url":"https://api.github.com/repos/atom/electron/issues/1807","id":110294028,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T09:34:32Z","updated_at":"2015-06-09T09:34:32Z","body":"It's possible in both cases, it's just that asyncString would be a blocking operation, nothing would be shown until everything has finished."}}