{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/dmxfee/angular.js/pulls/3","id":208686242,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Njg2MjQy","html_url":"https://github.com/dmxfee/angular.js/pull/3","diff_url":"https://github.com/dmxfee/angular.js/pull/3.diff","patch_url":"https://github.com/dmxfee/angular.js/pull/3.patch","issue_url":"https://api.github.com/repos/dmxfee/angular.js/issues/3","number":3,"state":"closed","locked":false,"title":"Promise counter","user":{"login":"jell0wed","id":4085451,"node_id":"MDQ6VXNlcjQwODU0NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4085451?v=4","gravatar_id":"","url":"https://api.github.com/users/jell0wed","html_url":"https://github.com/jell0wed","followers_url":"https://api.github.com/users/jell0wed/followers","following_url":"https://api.github.com/users/jell0wed/following{/other_user}","gists_url":"https://api.github.com/users/jell0wed/gists{/gist_id}","starred_url":"https://api.github.com/users/jell0wed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jell0wed/subscriptions","organizations_url":"https://api.github.com/users/jell0wed/orgs","repos_url":"https://api.github.com/users/jell0wed/repos","events_url":"https://api.github.com/users/jell0wed/events{/privacy}","received_events_url":"https://api.github.com/users/jell0wed/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**\r\nFeature\r\n\r\n**What is the current behavior? (You can also link to an open issue here)**\r\nThere are no way to keep track of which promises are lingering / pending if one never resolve/reject a promise he/she creates.\r\n\r\n**What is the new behavior (if this is a feature change)?**\r\nA promise counter has been implemented to the angular qFactory that counts the number of pending/lingering promises that have not been resolved. The counter gets incremented whenever a new promise is created, and is decremented as promises are resolved or rejected. \r\n\r\nThe counter is accessible through the `window.promises` object.\r\n\r\nExamples:\r\nhttps://plnkr.co/edit/ydki6XZkePEfexqaUQYE","created_at":"2018-08-15T21:26:14Z","updated_at":"2018-08-23T17:55:42Z","closed_at":"2018-08-23T17:55:42Z","merged_at":null,"merge_commit_sha":"dadd0df04aea32a24f6cc340a035d8238ff648eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmxfee/angular.js/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dmxfee/angular.js/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dmxfee/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmxfee/angular.js/issues/3/comments","statuses_url":"https://api.github.com/repos/dmxfee/angular.js/statuses/1ebd90f062f1230c1e59218e6e495813dfb240ca","head":{"label":"jell0wed:promise-tracker","ref":"promise-tracker","sha":"1ebd90f062f1230c1e59218e6e495813dfb240ca","user":{"login":"jell0wed","id":4085451,"node_id":"MDQ6VXNlcjQwODU0NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4085451?v=4","gravatar_id":"","url":"https://api.github.com/users/jell0wed","html_url":"https://github.com/jell0wed","followers_url":"https://api.github.com/users/jell0wed/followers","following_url":"https://api.github.com/users/jell0wed/following{/other_user}","gists_url":"https://api.github.com/users/jell0wed/gists{/gist_id}","starred_url":"https://api.github.com/users/jell0wed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jell0wed/subscriptions","organizations_url":"https://api.github.com/users/jell0wed/orgs","repos_url":"https://api.github.com/users/jell0wed/repos","events_url":"https://api.github.com/users/jell0wed/events{/privacy}","received_events_url":"https://api.github.com/users/jell0wed/received_events","type":"User","site_admin":false},"repo":{"id":144340430,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQzNDA0MzA=","name":"angular.js","full_name":"jell0wed/angular.js","owner":{"login":"jell0wed","id":4085451,"node_id":"MDQ6VXNlcjQwODU0NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4085451?v=4","gravatar_id":"","url":"https://api.github.com/users/jell0wed","html_url":"https://github.com/jell0wed","followers_url":"https://api.github.com/users/jell0wed/followers","following_url":"https://api.github.com/users/jell0wed/following{/other_user}","gists_url":"https://api.github.com/users/jell0wed/gists{/gist_id}","starred_url":"https://api.github.com/users/jell0wed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jell0wed/subscriptions","organizations_url":"https://api.github.com/users/jell0wed/orgs","repos_url":"https://api.github.com/users/jell0wed/repos","events_url":"https://api.github.com/users/jell0wed/events{/privacy}","received_events_url":"https://api.github.com/users/jell0wed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jell0wed/angular.js","description":"HTML enhanced for web apps","fork":true,"url":"https://api.github.com/repos/jell0wed/angular.js","forks_url":"https://api.github.com/repos/jell0wed/angular.js/forks","keys_url":"https://api.github.com/repos/jell0wed/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jell0wed/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jell0wed/angular.js/teams","hooks_url":"https://api.github.com/repos/jell0wed/angular.js/hooks","issue_events_url":"https://api.github.com/repos/jell0wed/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/jell0wed/angular.js/events","assignees_url":"https://api.github.com/repos/jell0wed/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/jell0wed/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/jell0wed/angular.js/tags","blobs_url":"https://api.github.com/repos/jell0wed/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jell0wed/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jell0wed/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/jell0wed/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jell0wed/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/jell0wed/angular.js/languages","stargazers_url":"https://api.github.com/repos/jell0wed/angular.js/stargazers","contributors_url":"https://api.github.com/repos/jell0wed/angular.js/contributors","subscribers_url":"https://api.github.com/repos/jell0wed/angular.js/subscribers","subscription_url":"https://api.github.com/repos/jell0wed/angular.js/subscription","commits_url":"https://api.github.com/repos/jell0wed/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/jell0wed/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/jell0wed/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/jell0wed/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/jell0wed/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/jell0wed/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jell0wed/angular.js/merges","archive_url":"https://api.github.com/repos/jell0wed/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jell0wed/angular.js/downloads","issues_url":"https://api.github.com/repos/jell0wed/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/jell0wed/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/jell0wed/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/jell0wed/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jell0wed/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/jell0wed/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/jell0wed/angular.js/deployments","created_at":"2018-08-10T23:23:51Z","updated_at":"2018-08-10T23:24:06Z","pushed_at":"2018-08-23T17:53:53Z","git_url":"git://github.com/jell0wed/angular.js.git","ssh_url":"git@github.com:jell0wed/angular.js.git","clone_url":"https://github.com/jell0wed/angular.js.git","svn_url":"https://github.com/jell0wed/angular.js","homepage":"http://angularjs.org","size":84873,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmxfee:dmxfee-master","ref":"dmxfee-master","sha":"744d4d0721401d9fa40f32ba373b2e0fe45a4dc4","user":{"login":"dmxfee","id":14854442,"node_id":"MDQ6VXNlcjE0ODU0NDQy","avatar_url":"https://avatars1.githubusercontent.com/u/14854442?v=4","gravatar_id":"","url":"https://api.github.com/users/dmxfee","html_url":"https://github.com/dmxfee","followers_url":"https://api.github.com/users/dmxfee/followers","following_url":"https://api.github.com/users/dmxfee/following{/other_user}","gists_url":"https://api.github.com/users/dmxfee/gists{/gist_id}","starred_url":"https://api.github.com/users/dmxfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmxfee/subscriptions","organizations_url":"https://api.github.com/users/dmxfee/orgs","repos_url":"https://api.github.com/users/dmxfee/repos","events_url":"https://api.github.com/users/dmxfee/events{/privacy}","received_events_url":"https://api.github.com/users/dmxfee/received_events","type":"User","site_admin":false},"repo":{"id":71940386,"node_id":"MDEwOlJlcG9zaXRvcnk3MTk0MDM4Ng==","name":"angular.js","full_name":"dmxfee/angular.js","owner":{"login":"dmxfee","id":14854442,"node_id":"MDQ6VXNlcjE0ODU0NDQy","avatar_url":"https://avatars1.githubusercontent.com/u/14854442?v=4","gravatar_id":"","url":"https://api.github.com/users/dmxfee","html_url":"https://github.com/dmxfee","followers_url":"https://api.github.com/users/dmxfee/followers","following_url":"https://api.github.com/users/dmxfee/following{/other_user}","gists_url":"https://api.github.com/users/dmxfee/gists{/gist_id}","starred_url":"https://api.github.com/users/dmxfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmxfee/subscriptions","organizations_url":"https://api.github.com/users/dmxfee/orgs","repos_url":"https://api.github.com/users/dmxfee/repos","events_url":"https://api.github.com/users/dmxfee/events{/privacy}","received_events_url":"https://api.github.com/users/dmxfee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmxfee/angular.js","description":"HTML enhanced for web apps","fork":true,"url":"https://api.github.com/repos/dmxfee/angular.js","forks_url":"https://api.github.com/repos/dmxfee/angular.js/forks","keys_url":"https://api.github.com/repos/dmxfee/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmxfee/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmxfee/angular.js/teams","hooks_url":"https://api.github.com/repos/dmxfee/angular.js/hooks","issue_events_url":"https://api.github.com/repos/dmxfee/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/dmxfee/angular.js/events","assignees_url":"https://api.github.com/repos/dmxfee/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/dmxfee/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/dmxfee/angular.js/tags","blobs_url":"https://api.github.com/repos/dmxfee/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmxfee/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmxfee/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmxfee/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmxfee/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/dmxfee/angular.js/languages","stargazers_url":"https://api.github.com/repos/dmxfee/angular.js/stargazers","contributors_url":"https://api.github.com/repos/dmxfee/angular.js/contributors","subscribers_url":"https://api.github.com/repos/dmxfee/angular.js/subscribers","subscription_url":"https://api.github.com/repos/dmxfee/angular.js/subscription","commits_url":"https://api.github.com/repos/dmxfee/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmxfee/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmxfee/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmxfee/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmxfee/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/dmxfee/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmxfee/angular.js/merges","archive_url":"https://api.github.com/repos/dmxfee/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmxfee/angular.js/downloads","issues_url":"https://api.github.com/repos/dmxfee/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/dmxfee/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/dmxfee/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/dmxfee/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmxfee/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/dmxfee/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/dmxfee/angular.js/deployments","created_at":"2016-10-25T21:25:50Z","updated_at":"2016-10-25T21:26:27Z","pushed_at":"2018-08-23T17:54:56Z","git_url":"git://github.com/dmxfee/angular.js.git","ssh_url":"git@github.com:dmxfee/angular.js.git","clone_url":"https://github.com/dmxfee/angular.js.git","svn_url":"https://github.com/dmxfee/angular.js","homepage":"http://angularjs.org","size":82276,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmxfee/angular.js/pulls/3"},"html":{"href":"https://github.com/dmxfee/angular.js/pull/3"},"issue":{"href":"https://api.github.com/repos/dmxfee/angular.js/issues/3"},"comments":{"href":"https://api.github.com/repos/dmxfee/angular.js/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dmxfee/angular.js/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dmxfee/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmxfee/angular.js/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dmxfee/angular.js/statuses/1ebd90f062f1230c1e59218e6e495813dfb240ca"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":1,"maintainer_can_modify":false,"commits":7,"additions":34,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"jell0wed"}}