{"action":"created","comment":{"url":"https://api.github.com/repos/metarhia/MetaSync/pulls/comments/104309747","pull_request_review_id":25143429,"id":104309747,"diff_hunk":"@@ -31,14 +31,15 @@ metasync.ConcurrentQueue.prototype.add = function(\n       this.items.push(item);\n     }\n   }\n+  return this;\n };\n \n metasync.ConcurrentQueue.prototype.next = function(\n   item // process next item from queue\n ) {\n   const queue = this;\n   let timer;\n-  if (queue.isOnPause) return;\n+  if (!queue.isOnPause) return this;","path":"lib/queue.js","position":13,"original_position":13,"commit_id":"873ac3f32db5ab4e6d074336658d9ec0f4d14fec","original_commit_id":"873ac3f32db5ab4e6d074336658d9ec0f4d14fec","user":{"login":"tshemsedinov","id":4405297,"avatar_url":"https://avatars1.githubusercontent.com/u/4405297?v=3","gravatar_id":"","url":"https://api.github.com/users/tshemsedinov","html_url":"https://github.com/tshemsedinov","followers_url":"https://api.github.com/users/tshemsedinov/followers","following_url":"https://api.github.com/users/tshemsedinov/following{/other_user}","gists_url":"https://api.github.com/users/tshemsedinov/gists{/gist_id}","starred_url":"https://api.github.com/users/tshemsedinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshemsedinov/subscriptions","organizations_url":"https://api.github.com/users/tshemsedinov/orgs","repos_url":"https://api.github.com/users/tshemsedinov/repos","events_url":"https://api.github.com/users/tshemsedinov/events{/privacy}","received_events_url":"https://api.github.com/users/tshemsedinov/received_events","type":"User","site_admin":false},"body":"Remove !\r\n```js\r\nif (queue.isOnPause) return this;\r\n```","created_at":"2017-03-05T10:50:03Z","updated_at":"2017-03-05T11:00:45Z","html_url":"https://github.com/metarhia/MetaSync/pull/46#discussion_r104309747","pull_request_url":"https://api.github.com/repos/metarhia/MetaSync/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/comments/104309747"},"html":{"href":"https://github.com/metarhia/MetaSync/pull/46#discussion_r104309747"},"pull_request":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/metarhia/MetaSync/pulls/46","id":109112461,"html_url":"https://github.com/metarhia/MetaSync/pull/46","diff_url":"https://github.com/metarhia/MetaSync/pull/46.diff","patch_url":"https://github.com/metarhia/MetaSync/pull/46.patch","issue_url":"https://api.github.com/repos/metarhia/MetaSync/issues/46","number":46,"state":"open","locked":false,"title":"Ability to resume queue asynchronously","user":{"login":"IvanProdaiko94","id":16734177,"avatar_url":"https://avatars1.githubusercontent.com/u/16734177?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanProdaiko94","html_url":"https://github.com/IvanProdaiko94","followers_url":"https://api.github.com/users/IvanProdaiko94/followers","following_url":"https://api.github.com/users/IvanProdaiko94/following{/other_user}","gists_url":"https://api.github.com/users/IvanProdaiko94/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanProdaiko94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanProdaiko94/subscriptions","organizations_url":"https://api.github.com/users/IvanProdaiko94/orgs","repos_url":"https://api.github.com/users/IvanProdaiko94/repos","events_url":"https://api.github.com/users/IvanProdaiko94/events{/privacy}","received_events_url":"https://api.github.com/users/IvanProdaiko94/received_events","type":"User","site_admin":false},"body":"Add:\r\n- Ability to resume queue asynchronously;\r\n- Chaining;\r\nWith this pull request one can resume execution asynchronously;","created_at":"2017-03-04T16:07:50Z","updated_at":"2017-03-05T11:00:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7eb71d8b1717831ed2342ed813948166920f7d50","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/metarhia/MetaSync/pulls/46/commits","review_comments_url":"https://api.github.com/repos/metarhia/MetaSync/pulls/46/comments","review_comment_url":"https://api.github.com/repos/metarhia/MetaSync/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metarhia/MetaSync/issues/46/comments","statuses_url":"https://api.github.com/repos/metarhia/MetaSync/statuses/873ac3f32db5ab4e6d074336658d9ec0f4d14fec","head":{"label":"IvanProdaiko94:master","ref":"master","sha":"873ac3f32db5ab4e6d074336658d9ec0f4d14fec","user":{"login":"IvanProdaiko94","id":16734177,"avatar_url":"https://avatars1.githubusercontent.com/u/16734177?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanProdaiko94","html_url":"https://github.com/IvanProdaiko94","followers_url":"https://api.github.com/users/IvanProdaiko94/followers","following_url":"https://api.github.com/users/IvanProdaiko94/following{/other_user}","gists_url":"https://api.github.com/users/IvanProdaiko94/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanProdaiko94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanProdaiko94/subscriptions","organizations_url":"https://api.github.com/users/IvanProdaiko94/orgs","repos_url":"https://api.github.com/users/IvanProdaiko94/repos","events_url":"https://api.github.com/users/IvanProdaiko94/events{/privacy}","received_events_url":"https://api.github.com/users/IvanProdaiko94/received_events","type":"User","site_admin":false},"repo":{"id":83898143,"name":"MetaSync","full_name":"IvanProdaiko94/MetaSync","owner":{"login":"IvanProdaiko94","id":16734177,"avatar_url":"https://avatars1.githubusercontent.com/u/16734177?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanProdaiko94","html_url":"https://github.com/IvanProdaiko94","followers_url":"https://api.github.com/users/IvanProdaiko94/followers","following_url":"https://api.github.com/users/IvanProdaiko94/following{/other_user}","gists_url":"https://api.github.com/users/IvanProdaiko94/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanProdaiko94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanProdaiko94/subscriptions","organizations_url":"https://api.github.com/users/IvanProdaiko94/orgs","repos_url":"https://api.github.com/users/IvanProdaiko94/repos","events_url":"https://api.github.com/users/IvanProdaiko94/events{/privacy}","received_events_url":"https://api.github.com/users/IvanProdaiko94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IvanProdaiko94/MetaSync","description":"Meta Async Programming Approach","fork":true,"url":"https://api.github.com/repos/IvanProdaiko94/MetaSync","forks_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/forks","keys_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/teams","hooks_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/hooks","issue_events_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/issues/events{/number}","events_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/events","assignees_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/assignees{/user}","branches_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/branches{/branch}","tags_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/tags","blobs_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/git/refs{/sha}","trees_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/statuses/{sha}","languages_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/languages","stargazers_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/stargazers","contributors_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/contributors","subscribers_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/subscribers","subscription_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/subscription","commits_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/commits{/sha}","git_commits_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/git/commits{/sha}","comments_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/comments{/number}","issue_comment_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/issues/comments{/number}","contents_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/contents/{+path}","compare_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/merges","archive_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/downloads","issues_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/issues{/number}","pulls_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/pulls{/number}","milestones_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/milestones{/number}","notifications_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/labels{/name}","releases_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/releases{/id}","deployments_url":"https://api.github.com/repos/IvanProdaiko94/MetaSync/deployments","created_at":"2017-03-04T14:13:34Z","updated_at":"2017-03-04T14:13:35Z","pushed_at":"2017-03-05T09:44:12Z","git_url":"git://github.com/IvanProdaiko94/MetaSync.git","ssh_url":"git@github.com:IvanProdaiko94/MetaSync.git","clone_url":"https://github.com/IvanProdaiko94/MetaSync.git","svn_url":"https://github.com/IvanProdaiko94/MetaSync","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"metarhia:master","ref":"master","sha":"a584ee952ec45b5816ec61e1177d9ecac8d8a110","user":{"login":"metarhia","id":18060695,"avatar_url":"https://avatars1.githubusercontent.com/u/18060695?v=3","gravatar_id":"","url":"https://api.github.com/users/metarhia","html_url":"https://github.com/metarhia","followers_url":"https://api.github.com/users/metarhia/followers","following_url":"https://api.github.com/users/metarhia/following{/other_user}","gists_url":"https://api.github.com/users/metarhia/gists{/gist_id}","starred_url":"https://api.github.com/users/metarhia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metarhia/subscriptions","organizations_url":"https://api.github.com/users/metarhia/orgs","repos_url":"https://api.github.com/users/metarhia/repos","events_url":"https://api.github.com/users/metarhia/events{/privacy}","received_events_url":"https://api.github.com/users/metarhia/received_events","type":"Organization","site_admin":false},"repo":{"id":63628157,"name":"MetaSync","full_name":"metarhia/MetaSync","owner":{"login":"metarhia","id":18060695,"avatar_url":"https://avatars1.githubusercontent.com/u/18060695?v=3","gravatar_id":"","url":"https://api.github.com/users/metarhia","html_url":"https://github.com/metarhia","followers_url":"https://api.github.com/users/metarhia/followers","following_url":"https://api.github.com/users/metarhia/following{/other_user}","gists_url":"https://api.github.com/users/metarhia/gists{/gist_id}","starred_url":"https://api.github.com/users/metarhia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metarhia/subscriptions","organizations_url":"https://api.github.com/users/metarhia/orgs","repos_url":"https://api.github.com/users/metarhia/repos","events_url":"https://api.github.com/users/metarhia/events{/privacy}","received_events_url":"https://api.github.com/users/metarhia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metarhia/MetaSync","description":"Meta Async Programming Approach","fork":false,"url":"https://api.github.com/repos/metarhia/MetaSync","forks_url":"https://api.github.com/repos/metarhia/MetaSync/forks","keys_url":"https://api.github.com/repos/metarhia/MetaSync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metarhia/MetaSync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metarhia/MetaSync/teams","hooks_url":"https://api.github.com/repos/metarhia/MetaSync/hooks","issue_events_url":"https://api.github.com/repos/metarhia/MetaSync/issues/events{/number}","events_url":"https://api.github.com/repos/metarhia/MetaSync/events","assignees_url":"https://api.github.com/repos/metarhia/MetaSync/assignees{/user}","branches_url":"https://api.github.com/repos/metarhia/MetaSync/branches{/branch}","tags_url":"https://api.github.com/repos/metarhia/MetaSync/tags","blobs_url":"https://api.github.com/repos/metarhia/MetaSync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metarhia/MetaSync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metarhia/MetaSync/git/refs{/sha}","trees_url":"https://api.github.com/repos/metarhia/MetaSync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metarhia/MetaSync/statuses/{sha}","languages_url":"https://api.github.com/repos/metarhia/MetaSync/languages","stargazers_url":"https://api.github.com/repos/metarhia/MetaSync/stargazers","contributors_url":"https://api.github.com/repos/metarhia/MetaSync/contributors","subscribers_url":"https://api.github.com/repos/metarhia/MetaSync/subscribers","subscription_url":"https://api.github.com/repos/metarhia/MetaSync/subscription","commits_url":"https://api.github.com/repos/metarhia/MetaSync/commits{/sha}","git_commits_url":"https://api.github.com/repos/metarhia/MetaSync/git/commits{/sha}","comments_url":"https://api.github.com/repos/metarhia/MetaSync/comments{/number}","issue_comment_url":"https://api.github.com/repos/metarhia/MetaSync/issues/comments{/number}","contents_url":"https://api.github.com/repos/metarhia/MetaSync/contents/{+path}","compare_url":"https://api.github.com/repos/metarhia/MetaSync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metarhia/MetaSync/merges","archive_url":"https://api.github.com/repos/metarhia/MetaSync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metarhia/MetaSync/downloads","issues_url":"https://api.github.com/repos/metarhia/MetaSync/issues{/number}","pulls_url":"https://api.github.com/repos/metarhia/MetaSync/pulls{/number}","milestones_url":"https://api.github.com/repos/metarhia/MetaSync/milestones{/number}","notifications_url":"https://api.github.com/repos/metarhia/MetaSync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metarhia/MetaSync/labels{/name}","releases_url":"https://api.github.com/repos/metarhia/MetaSync/releases{/id}","deployments_url":"https://api.github.com/repos/metarhia/MetaSync/deployments","created_at":"2016-07-18T18:44:42Z","updated_at":"2017-03-01T09:52:52Z","pushed_at":"2017-03-05T09:44:13Z","git_url":"git://github.com/metarhia/MetaSync.git","ssh_url":"git@github.com:metarhia/MetaSync.git","clone_url":"https://github.com/metarhia/MetaSync.git","svn_url":"https://github.com/metarhia/MetaSync","homepage":null,"size":87,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":11,"forks":13,"open_issues":11,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/46"},"html":{"href":"https://github.com/metarhia/MetaSync/pull/46"},"issue":{"href":"https://api.github.com/repos/metarhia/MetaSync/issues/46"},"comments":{"href":"https://api.github.com/repos/metarhia/MetaSync/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metarhia/MetaSync/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/metarhia/MetaSync/statuses/873ac3f32db5ab4e6d074336658d9ec0f4d14fec"}}}}
{"actor":{"display_login":"tshemsedinov"}}