{"action":"created","comment":{"url":"https://api.github.com/repos/jessetane/queue/pulls/comments/202051350","pull_request_review_id":136670958,"id":202051350,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjA1MTM1MA==","diff_hunk":"@@ -72,9 +72,12 @@ Queue.prototype.start = function (cb) {\n     callOnErrorOrEnd.call(this, cb)\n   }\n \n+  var self = this\n+\n   this.running = true\n \n   if (this.pending >= this.concurrency) {\n+    self.emit('pending', this.pending, this.concurrency, this.jobs.length)","path":"index.js","position":9,"original_position":9,"commit_id":"c6077e345b252da9310e1bc8d384fbb63076d3e0","original_commit_id":"c6077e345b252da9310e1bc8d384fbb63076d3e0","user":{"login":"piecioshka","id":244935,"node_id":"MDQ6VXNlcjI0NDkzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/244935?v=4","gravatar_id":"","url":"https://api.github.com/users/piecioshka","html_url":"https://github.com/piecioshka","followers_url":"https://api.github.com/users/piecioshka/followers","following_url":"https://api.github.com/users/piecioshka/following{/other_user}","gists_url":"https://api.github.com/users/piecioshka/gists{/gist_id}","starred_url":"https://api.github.com/users/piecioshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piecioshka/subscriptions","organizations_url":"https://api.github.com/users/piecioshka/orgs","repos_url":"https://api.github.com/users/piecioshka/repos","events_url":"https://api.github.com/users/piecioshka/events{/privacy}","received_events_url":"https://api.github.com/users/piecioshka/received_events","type":"User","site_admin":false},"body":"Good idea. Maybe in new major version?","created_at":"2018-07-12T14:16:44Z","updated_at":"2018-07-12T14:16:44Z","html_url":"https://github.com/jessetane/queue/pull/42#discussion_r202051350","pull_request_url":"https://api.github.com/repos/jessetane/queue/pulls/42","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jessetane/queue/pulls/comments/202051350"},"html":{"href":"https://github.com/jessetane/queue/pull/42#discussion_r202051350"},"pull_request":{"href":"https://api.github.com/repos/jessetane/queue/pulls/42"}},"in_reply_to_id":200844087},"pull_request":{"url":"https://api.github.com/repos/jessetane/queue/pulls/42","id":168646965,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY4NjQ2OTY1","html_url":"https://github.com/jessetane/queue/pull/42","diff_url":"https://github.com/jessetane/queue/pull/42.diff","patch_url":"https://github.com/jessetane/queue/pull/42.patch","issue_url":"https://api.github.com/repos/jessetane/queue/issues/42","number":42,"state":"open","locked":false,"title":"Support pending event 🕑","user":{"login":"piecioshka","id":244935,"node_id":"MDQ6VXNlcjI0NDkzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/244935?v=4","gravatar_id":"","url":"https://api.github.com/users/piecioshka","html_url":"https://github.com/piecioshka","followers_url":"https://api.github.com/users/piecioshka/followers","following_url":"https://api.github.com/users/piecioshka/following{/other_user}","gists_url":"https://api.github.com/users/piecioshka/gists{/gist_id}","starred_url":"https://api.github.com/users/piecioshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piecioshka/subscriptions","organizations_url":"https://api.github.com/users/piecioshka/orgs","repos_url":"https://api.github.com/users/piecioshka/repos","events_url":"https://api.github.com/users/piecioshka/events{/privacy}","received_events_url":"https://api.github.com/users/piecioshka/received_events","type":"User","site_admin":false},"body":"# Changelog ⚡️ \r\n\r\n* Add pending event\r\n* Fixup typos in README\r\n* Prelong unit tests (NEVER use timeout below 20 ms, because that will be unpredictable)","created_at":"2018-02-12T17:54:37Z","updated_at":"2018-07-12T14:16:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a50531de47eef3d4dd0c35c8ab9624c56a7a3567","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jessetane/queue/pulls/42/commits","review_comments_url":"https://api.github.com/repos/jessetane/queue/pulls/42/comments","review_comment_url":"https://api.github.com/repos/jessetane/queue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jessetane/queue/issues/42/comments","statuses_url":"https://api.github.com/repos/jessetane/queue/statuses/c6077e345b252da9310e1bc8d384fbb63076d3e0","head":{"label":"piecioshka:master","ref":"master","sha":"c6077e345b252da9310e1bc8d384fbb63076d3e0","user":{"login":"piecioshka","id":244935,"node_id":"MDQ6VXNlcjI0NDkzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/244935?v=4","gravatar_id":"","url":"https://api.github.com/users/piecioshka","html_url":"https://github.com/piecioshka","followers_url":"https://api.github.com/users/piecioshka/followers","following_url":"https://api.github.com/users/piecioshka/following{/other_user}","gists_url":"https://api.github.com/users/piecioshka/gists{/gist_id}","starred_url":"https://api.github.com/users/piecioshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piecioshka/subscriptions","organizations_url":"https://api.github.com/users/piecioshka/orgs","repos_url":"https://api.github.com/users/piecioshka/repos","events_url":"https://api.github.com/users/piecioshka/events{/privacy}","received_events_url":"https://api.github.com/users/piecioshka/received_events","type":"User","site_admin":false},"repo":{"id":120891751,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA4OTE3NTE=","name":"queue","full_name":"piecioshka/queue","owner":{"login":"piecioshka","id":244935,"node_id":"MDQ6VXNlcjI0NDkzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/244935?v=4","gravatar_id":"","url":"https://api.github.com/users/piecioshka","html_url":"https://github.com/piecioshka","followers_url":"https://api.github.com/users/piecioshka/followers","following_url":"https://api.github.com/users/piecioshka/following{/other_user}","gists_url":"https://api.github.com/users/piecioshka/gists{/gist_id}","starred_url":"https://api.github.com/users/piecioshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piecioshka/subscriptions","organizations_url":"https://api.github.com/users/piecioshka/orgs","repos_url":"https://api.github.com/users/piecioshka/repos","events_url":"https://api.github.com/users/piecioshka/events{/privacy}","received_events_url":"https://api.github.com/users/piecioshka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piecioshka/queue","description":"Asynchronous function queue with adjustable concurrency","fork":true,"url":"https://api.github.com/repos/piecioshka/queue","forks_url":"https://api.github.com/repos/piecioshka/queue/forks","keys_url":"https://api.github.com/repos/piecioshka/queue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piecioshka/queue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piecioshka/queue/teams","hooks_url":"https://api.github.com/repos/piecioshka/queue/hooks","issue_events_url":"https://api.github.com/repos/piecioshka/queue/issues/events{/number}","events_url":"https://api.github.com/repos/piecioshka/queue/events","assignees_url":"https://api.github.com/repos/piecioshka/queue/assignees{/user}","branches_url":"https://api.github.com/repos/piecioshka/queue/branches{/branch}","tags_url":"https://api.github.com/repos/piecioshka/queue/tags","blobs_url":"https://api.github.com/repos/piecioshka/queue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piecioshka/queue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piecioshka/queue/git/refs{/sha}","trees_url":"https://api.github.com/repos/piecioshka/queue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piecioshka/queue/statuses/{sha}","languages_url":"https://api.github.com/repos/piecioshka/queue/languages","stargazers_url":"https://api.github.com/repos/piecioshka/queue/stargazers","contributors_url":"https://api.github.com/repos/piecioshka/queue/contributors","subscribers_url":"https://api.github.com/repos/piecioshka/queue/subscribers","subscription_url":"https://api.github.com/repos/piecioshka/queue/subscription","commits_url":"https://api.github.com/repos/piecioshka/queue/commits{/sha}","git_commits_url":"https://api.github.com/repos/piecioshka/queue/git/commits{/sha}","comments_url":"https://api.github.com/repos/piecioshka/queue/comments{/number}","issue_comment_url":"https://api.github.com/repos/piecioshka/queue/issues/comments{/number}","contents_url":"https://api.github.com/repos/piecioshka/queue/contents/{+path}","compare_url":"https://api.github.com/repos/piecioshka/queue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piecioshka/queue/merges","archive_url":"https://api.github.com/repos/piecioshka/queue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piecioshka/queue/downloads","issues_url":"https://api.github.com/repos/piecioshka/queue/issues{/number}","pulls_url":"https://api.github.com/repos/piecioshka/queue/pulls{/number}","milestones_url":"https://api.github.com/repos/piecioshka/queue/milestones{/number}","notifications_url":"https://api.github.com/repos/piecioshka/queue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piecioshka/queue/labels{/name}","releases_url":"https://api.github.com/repos/piecioshka/queue/releases{/id}","deployments_url":"https://api.github.com/repos/piecioshka/queue/deployments","created_at":"2018-02-09T10:24:43Z","updated_at":"2018-02-18T15:36:25Z","pushed_at":"2018-02-09T11:42:56Z","git_url":"git://github.com/piecioshka/queue.git","ssh_url":"git@github.com:piecioshka/queue.git","clone_url":"https://github.com/piecioshka/queue.git","svn_url":"https://github.com/piecioshka/queue","homepage":"","size":90,"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":"jessetane:master","ref":"master","sha":"b5b47d85eb4c785e487beceb37455063ffdcc0f5","user":{"login":"jessetane","id":452396,"node_id":"MDQ6VXNlcjQ1MjM5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/452396?v=4","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"repo":{"id":6515079,"node_id":"MDEwOlJlcG9zaXRvcnk2NTE1MDc5","name":"queue","full_name":"jessetane/queue","owner":{"login":"jessetane","id":452396,"node_id":"MDQ6VXNlcjQ1MjM5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/452396?v=4","gravatar_id":"","url":"https://api.github.com/users/jessetane","html_url":"https://github.com/jessetane","followers_url":"https://api.github.com/users/jessetane/followers","following_url":"https://api.github.com/users/jessetane/following{/other_user}","gists_url":"https://api.github.com/users/jessetane/gists{/gist_id}","starred_url":"https://api.github.com/users/jessetane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessetane/subscriptions","organizations_url":"https://api.github.com/users/jessetane/orgs","repos_url":"https://api.github.com/users/jessetane/repos","events_url":"https://api.github.com/users/jessetane/events{/privacy}","received_events_url":"https://api.github.com/users/jessetane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessetane/queue","description":"Asynchronous function queue with adjustable concurrency","fork":false,"url":"https://api.github.com/repos/jessetane/queue","forks_url":"https://api.github.com/repos/jessetane/queue/forks","keys_url":"https://api.github.com/repos/jessetane/queue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessetane/queue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessetane/queue/teams","hooks_url":"https://api.github.com/repos/jessetane/queue/hooks","issue_events_url":"https://api.github.com/repos/jessetane/queue/issues/events{/number}","events_url":"https://api.github.com/repos/jessetane/queue/events","assignees_url":"https://api.github.com/repos/jessetane/queue/assignees{/user}","branches_url":"https://api.github.com/repos/jessetane/queue/branches{/branch}","tags_url":"https://api.github.com/repos/jessetane/queue/tags","blobs_url":"https://api.github.com/repos/jessetane/queue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessetane/queue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessetane/queue/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessetane/queue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessetane/queue/statuses/{sha}","languages_url":"https://api.github.com/repos/jessetane/queue/languages","stargazers_url":"https://api.github.com/repos/jessetane/queue/stargazers","contributors_url":"https://api.github.com/repos/jessetane/queue/contributors","subscribers_url":"https://api.github.com/repos/jessetane/queue/subscribers","subscription_url":"https://api.github.com/repos/jessetane/queue/subscription","commits_url":"https://api.github.com/repos/jessetane/queue/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessetane/queue/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessetane/queue/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessetane/queue/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessetane/queue/contents/{+path}","compare_url":"https://api.github.com/repos/jessetane/queue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessetane/queue/merges","archive_url":"https://api.github.com/repos/jessetane/queue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessetane/queue/downloads","issues_url":"https://api.github.com/repos/jessetane/queue/issues{/number}","pulls_url":"https://api.github.com/repos/jessetane/queue/pulls{/number}","milestones_url":"https://api.github.com/repos/jessetane/queue/milestones{/number}","notifications_url":"https://api.github.com/repos/jessetane/queue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessetane/queue/labels{/name}","releases_url":"https://api.github.com/repos/jessetane/queue/releases{/id}","deployments_url":"https://api.github.com/repos/jessetane/queue/deployments","created_at":"2012-11-03T01:16:29Z","updated_at":"2018-07-03T12:27:30Z","pushed_at":"2018-02-12T17:54:38Z","git_url":"git://github.com/jessetane/queue.git","ssh_url":"git@github.com:jessetane/queue.git","clone_url":"https://github.com/jessetane/queue.git","svn_url":"https://github.com/jessetane/queue","homepage":"","size":91,"stargazers_count":288,"watchers_count":288,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":39,"open_issues":4,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jessetane/queue/pulls/42"},"html":{"href":"https://github.com/jessetane/queue/pull/42"},"issue":{"href":"https://api.github.com/repos/jessetane/queue/issues/42"},"comments":{"href":"https://api.github.com/repos/jessetane/queue/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/jessetane/queue/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/jessetane/queue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jessetane/queue/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/jessetane/queue/statuses/c6077e345b252da9310e1bc8d384fbb63076d3e0"}},"author_association":"NONE"}}
{"actor":{"display_login":"piecioshka"}}