{"action":"opened","issue":{"url":"https://api.github.com/repos/LaxarJS/laxar/issues/340","repository_url":"https://api.github.com/repos/LaxarJS/laxar","labels_url":"https://api.github.com/repos/LaxarJS/laxar/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/LaxarJS/laxar/issues/340/comments","events_url":"https://api.github.com/repos/LaxarJS/laxar/issues/340/events","html_url":"https://github.com/LaxarJS/laxar/issues/340","id":167351449,"number":340,"title":"Improve scheduling of heartbeat and -listeners","user":{"login":"x1B","id":327904,"avatar_url":"https://avatars.githubusercontent.com/u/327904?v=3","gravatar_id":"","url":"https://api.github.com/users/x1B","html_url":"https://github.com/x1B","followers_url":"https://api.github.com/users/x1B/followers","following_url":"https://api.github.com/users/x1B/following{/other_user}","gists_url":"https://api.github.com/users/x1B/gists{/gist_id}","starred_url":"https://api.github.com/users/x1B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x1B/subscriptions","organizations_url":"https://api.github.com/users/x1B/orgs","repos_url":"https://api.github.com/users/x1B/repos","events_url":"https://api.github.com/users/x1B/events{/privacy}","received_events_url":"https://api.github.com/users/x1B/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"x1B","id":327904,"avatar_url":"https://avatars.githubusercontent.com/u/327904?v=3","gravatar_id":"","url":"https://api.github.com/users/x1B","html_url":"https://github.com/x1B","followers_url":"https://api.github.com/users/x1B/followers","following_url":"https://api.github.com/users/x1B/following{/other_user}","gists_url":"https://api.github.com/users/x1B/gists{/gist_id}","starred_url":"https://api.github.com/users/x1B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x1B/subscriptions","organizations_url":"https://api.github.com/users/x1B/orgs","repos_url":"https://api.github.com/users/x1B/repos","events_url":"https://api.github.com/users/x1B/events{/privacy}","received_events_url":"https://api.github.com/users/x1B/received_events","type":"User","site_admin":false},"assignees":[{"login":"x1B","id":327904,"avatar_url":"https://avatars.githubusercontent.com/u/327904?v=3","gravatar_id":"","url":"https://api.github.com/users/x1B","html_url":"https://github.com/x1B","followers_url":"https://api.github.com/users/x1B/followers","following_url":"https://api.github.com/users/x1B/following{/other_user}","gists_url":"https://api.github.com/users/x1B/gists{/gist_id}","starred_url":"https://api.github.com/users/x1B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x1B/subscriptions","organizations_url":"https://api.github.com/users/x1B/orgs","repos_url":"https://api.github.com/users/x1B/repos","events_url":"https://api.github.com/users/x1B/events{/privacy}","received_events_url":"https://api.github.com/users/x1B/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/LaxarJS/laxar/milestones/3","html_url":"https://github.com/LaxarJS/laxar/milestones/v2.0.0","labels_url":"https://api.github.com/repos/LaxarJS/laxar/milestones/3/labels","id":1202330,"number":3,"title":"v2.0.0","description":"Milestone for the next major release, which may need to introduce some breaking changes due to cool, new features!","creator":{"login":"alex3683","id":768322,"avatar_url":"https://avatars.githubusercontent.com/u/768322?v=3","gravatar_id":"","url":"https://api.github.com/users/alex3683","html_url":"https://github.com/alex3683","followers_url":"https://api.github.com/users/alex3683/followers","following_url":"https://api.github.com/users/alex3683/following{/other_user}","gists_url":"https://api.github.com/users/alex3683/gists{/gist_id}","starred_url":"https://api.github.com/users/alex3683/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex3683/subscriptions","organizations_url":"https://api.github.com/users/alex3683/orgs","repos_url":"https://api.github.com/users/alex3683/repos","events_url":"https://api.github.com/users/alex3683/events{/privacy}","received_events_url":"https://api.github.com/users/alex3683/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":52,"state":"open","created_at":"2015-07-10T11:14:02Z","updated_at":"2016-07-25T12:11:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-07-25T12:11:18Z","updated_at":"2016-07-25T12:11:18Z","closed_at":null,"body":"The `axHeartbeat` listener is currently invoked synchronously. This can cause promises to be resolved *after* `$apply` was triggered. \n\n- [ ] Schedule heartbeat listeners to be run asynchronously\n\nAlso, we can get a performance boost by \n\n- [ ] using Promise.resolve to schedule heartbeat cycles instead of `setTimeout` (measurements indicate ~20 - 25% in Chrome and Firefox, for simple applications such as the shop demo, in development mode)."}}
{"actor":{"display_login":"x1B"}}