{"action":"created","issue":{"url":"https://api.github.com/repos/pintheworld/pintheworld/issues/42","repository_url":"https://api.github.com/repos/pintheworld/pintheworld","labels_url":"https://api.github.com/repos/pintheworld/pintheworld/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/pintheworld/pintheworld/issues/42/comments","events_url":"https://api.github.com/repos/pintheworld/pintheworld/issues/42/events","html_url":"https://github.com/pintheworld/pintheworld/issues/42","id":189972805,"number":42,"title":"find way to handle async subscription in services","user":{"login":"blanche","id":2837171,"avatar_url":"https://avatars.githubusercontent.com/u/2837171?v=3","gravatar_id":"","url":"https://api.github.com/users/blanche","html_url":"https://github.com/blanche","followers_url":"https://api.github.com/users/blanche/followers","following_url":"https://api.github.com/users/blanche/following{/other_user}","gists_url":"https://api.github.com/users/blanche/gists{/gist_id}","starred_url":"https://api.github.com/users/blanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blanche/subscriptions","organizations_url":"https://api.github.com/users/blanche/orgs","repos_url":"https://api.github.com/users/blanche/repos","events_url":"https://api.github.com/users/blanche/events{/privacy}","received_events_url":"https://api.github.com/users/blanche/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"blanche","id":2837171,"avatar_url":"https://avatars.githubusercontent.com/u/2837171?v=3","gravatar_id":"","url":"https://api.github.com/users/blanche","html_url":"https://github.com/blanche","followers_url":"https://api.github.com/users/blanche/followers","following_url":"https://api.github.com/users/blanche/following{/other_user}","gists_url":"https://api.github.com/users/blanche/gists{/gist_id}","starred_url":"https://api.github.com/users/blanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blanche/subscriptions","organizations_url":"https://api.github.com/users/blanche/orgs","repos_url":"https://api.github.com/users/blanche/repos","events_url":"https://api.github.com/users/blanche/events{/privacy}","received_events_url":"https://api.github.com/users/blanche/received_events","type":"User","site_admin":false},"assignees":[{"login":"blanche","id":2837171,"avatar_url":"https://avatars.githubusercontent.com/u/2837171?v=3","gravatar_id":"","url":"https://api.github.com/users/blanche","html_url":"https://github.com/blanche","followers_url":"https://api.github.com/users/blanche/followers","following_url":"https://api.github.com/users/blanche/following{/other_user}","gists_url":"https://api.github.com/users/blanche/gists{/gist_id}","starred_url":"https://api.github.com/users/blanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blanche/subscriptions","organizations_url":"https://api.github.com/users/blanche/orgs","repos_url":"https://api.github.com/users/blanche/repos","events_url":"https://api.github.com/users/blanche/events{/privacy}","received_events_url":"https://api.github.com/users/blanche/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pintheworld/pintheworld/milestones/4","html_url":"https://github.com/pintheworld/pintheworld/milestones/Week%208","labels_url":"https://api.github.com/repos/pintheworld/pintheworld/milestones/4/labels","id":2141259,"number":4,"title":"Week 8","description":null,"creator":{"login":"blanche","id":2837171,"avatar_url":"https://avatars.githubusercontent.com/u/2837171?v=3","gravatar_id":"","url":"https://api.github.com/users/blanche","html_url":"https://github.com/blanche","followers_url":"https://api.github.com/users/blanche/followers","following_url":"https://api.github.com/users/blanche/following{/other_user}","gists_url":"https://api.github.com/users/blanche/gists{/gist_id}","starred_url":"https://api.github.com/users/blanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blanche/subscriptions","organizations_url":"https://api.github.com/users/blanche/orgs","repos_url":"https://api.github.com/users/blanche/repos","events_url":"https://api.github.com/users/blanche/events{/privacy}","received_events_url":"https://api.github.com/users/blanche/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2016-11-17T08:20:47Z","updated_at":"2016-11-17T10:34:51Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-17T08:20:49Z","updated_at":"2016-11-17T10:34:51Z","closed_at":"2016-11-17T10:34:51Z","body":"example problem:\r\nyou call getCities() and expect cities to be present after this line of code, but it isnt, because the get request is async\r\n\r\nsee map component for example\r\n\r\npossible solution:\r\n- chain subscribtion\r\n- probably use callback\r\n- use sync request"},"comment":{"url":"https://api.github.com/repos/pintheworld/pintheworld/issues/comments/261212676","html_url":"https://github.com/pintheworld/pintheworld/issues/42#issuecomment-261212676","issue_url":"https://api.github.com/repos/pintheworld/pintheworld/issues/42","id":261212676,"user":{"login":"blanche","id":2837171,"avatar_url":"https://avatars.githubusercontent.com/u/2837171?v=3","gravatar_id":"","url":"https://api.github.com/users/blanche","html_url":"https://github.com/blanche","followers_url":"https://api.github.com/users/blanche/followers","following_url":"https://api.github.com/users/blanche/following{/other_user}","gists_url":"https://api.github.com/users/blanche/gists{/gist_id}","starred_url":"https://api.github.com/users/blanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blanche/subscriptions","organizations_url":"https://api.github.com/users/blanche/orgs","repos_url":"https://api.github.com/users/blanche/repos","events_url":"https://api.github.com/users/blanche/events{/privacy}","received_events_url":"https://api.github.com/users/blanche/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T10:34:51Z","updated_at":"2016-11-17T10:34:51Z","body":"fixed by #47"}}
{"actor":{"display_login":"blanche"}}