{"action":"created","comment":{"url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/comments/151361635","pull_request_review_id":77054485,"id":151361635,"diff_hunk":"@@ -0,0 +1,36 @@\n+import uuid from 'uuid';\n+import _ from 'lodash';\n+\n+const stoppersMap = {};\n+let stellar;\n+\n+export function configure(_stellar) {\n+    stellar = _stellar; // eslint-disable-line better-mutation/no-mutation\n+}\n+\n+export const dispatch = ({ resource, path, method, channel, reactiveHandler, payload, options }) => {\n+    if (method === 'unsubscribe') {\n+        const stopper = stoppersMap[payload];","path":"packages/stellar-dispatcher/src/index.js","position":13,"original_position":13,"commit_id":"50bb92ba16cda9f61751cd50bfb2476b983e9d22","original_commit_id":"50bb92ba16cda9f61751cd50bfb2476b983e9d22","user":{"login":"sloops77","id":4784403,"avatar_url":"https://avatars1.githubusercontent.com/u/4784403?v=4","gravatar_id":"","url":"https://api.github.com/users/sloops77","html_url":"https://github.com/sloops77","followers_url":"https://api.github.com/users/sloops77/followers","following_url":"https://api.github.com/users/sloops77/following{/other_user}","gists_url":"https://api.github.com/users/sloops77/gists{/gist_id}","starred_url":"https://api.github.com/users/sloops77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloops77/subscriptions","organizations_url":"https://api.github.com/users/sloops77/orgs","repos_url":"https://api.github.com/users/sloops77/repos","events_url":"https://api.github.com/users/sloops77/events{/privacy}","received_events_url":"https://api.github.com/users/sloops77/received_events","type":"User","site_admin":false},"body":"payload as the key? pls comment what it really is","created_at":"2017-11-16T09:36:48Z","updated_at":"2017-11-16T09:40:27Z","html_url":"https://github.com/stellarjs/stellarjs/pull/76#discussion_r151361635","pull_request_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/comments/151361635"},"html":{"href":"https://github.com/stellarjs/stellarjs/pull/76#discussion_r151361635"},"pull_request":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76","id":152983375,"html_url":"https://github.com/stellarjs/stellarjs/pull/76","diff_url":"https://github.com/stellarjs/stellarjs/pull/76.diff","patch_url":"https://github.com/stellarjs/stellarjs/pull/76.patch","issue_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/76","number":76,"state":"open","locked":false,"title":"Added new module stellar-dispatcher","user":{"login":"roeeyud","id":4408900,"avatar_url":"https://avatars1.githubusercontent.com/u/4408900?v=4","gravatar_id":"","url":"https://api.github.com/users/roeeyud","html_url":"https://github.com/roeeyud","followers_url":"https://api.github.com/users/roeeyud/followers","following_url":"https://api.github.com/users/roeeyud/following{/other_user}","gists_url":"https://api.github.com/users/roeeyud/gists{/gist_id}","starred_url":"https://api.github.com/users/roeeyud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roeeyud/subscriptions","organizations_url":"https://api.github.com/users/roeeyud/orgs","repos_url":"https://api.github.com/users/roeeyud/repos","events_url":"https://api.github.com/users/roeeyud/events{/privacy}","received_events_url":"https://api.github.com/users/roeeyud/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-16T08:59:33Z","updated_at":"2017-11-16T09:40:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40c4308f155e7315ac5f8797c20a5b0735c64bb4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76/commits","review_comments_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76/comments","review_comment_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/76/comments","statuses_url":"https://api.github.com/repos/stellarjs/stellarjs/statuses/50bb92ba16cda9f61751cd50bfb2476b983e9d22","head":{"label":"stellarjs:addedStelllarDispatcher","ref":"addedStelllarDispatcher","sha":"50bb92ba16cda9f61751cd50bfb2476b983e9d22","user":{"login":"stellarjs","id":26953965,"avatar_url":"https://avatars0.githubusercontent.com/u/26953965?v=4","gravatar_id":"","url":"https://api.github.com/users/stellarjs","html_url":"https://github.com/stellarjs","followers_url":"https://api.github.com/users/stellarjs/followers","following_url":"https://api.github.com/users/stellarjs/following{/other_user}","gists_url":"https://api.github.com/users/stellarjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarjs/subscriptions","organizations_url":"https://api.github.com/users/stellarjs/orgs","repos_url":"https://api.github.com/users/stellarjs/repos","events_url":"https://api.github.com/users/stellarjs/events{/privacy}","received_events_url":"https://api.github.com/users/stellarjs/received_events","type":"Organization","site_admin":false},"repo":{"id":91318949,"name":"stellarjs","full_name":"stellarjs/stellarjs","owner":{"login":"stellarjs","id":26953965,"avatar_url":"https://avatars0.githubusercontent.com/u/26953965?v=4","gravatar_id":"","url":"https://api.github.com/users/stellarjs","html_url":"https://github.com/stellarjs","followers_url":"https://api.github.com/users/stellarjs/followers","following_url":"https://api.github.com/users/stellarjs/following{/other_user}","gists_url":"https://api.github.com/users/stellarjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarjs/subscriptions","organizations_url":"https://api.github.com/users/stellarjs/orgs","repos_url":"https://api.github.com/users/stellarjs/repos","events_url":"https://api.github.com/users/stellarjs/events{/privacy}","received_events_url":"https://api.github.com/users/stellarjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stellarjs/stellarjs","description":"Stellar Microservices Framework","fork":false,"url":"https://api.github.com/repos/stellarjs/stellarjs","forks_url":"https://api.github.com/repos/stellarjs/stellarjs/forks","keys_url":"https://api.github.com/repos/stellarjs/stellarjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stellarjs/stellarjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stellarjs/stellarjs/teams","hooks_url":"https://api.github.com/repos/stellarjs/stellarjs/hooks","issue_events_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/events{/number}","events_url":"https://api.github.com/repos/stellarjs/stellarjs/events","assignees_url":"https://api.github.com/repos/stellarjs/stellarjs/assignees{/user}","branches_url":"https://api.github.com/repos/stellarjs/stellarjs/branches{/branch}","tags_url":"https://api.github.com/repos/stellarjs/stellarjs/tags","blobs_url":"https://api.github.com/repos/stellarjs/stellarjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stellarjs/stellarjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stellarjs/stellarjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/stellarjs/stellarjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stellarjs/stellarjs/statuses/{sha}","languages_url":"https://api.github.com/repos/stellarjs/stellarjs/languages","stargazers_url":"https://api.github.com/repos/stellarjs/stellarjs/stargazers","contributors_url":"https://api.github.com/repos/stellarjs/stellarjs/contributors","subscribers_url":"https://api.github.com/repos/stellarjs/stellarjs/subscribers","subscription_url":"https://api.github.com/repos/stellarjs/stellarjs/subscription","commits_url":"https://api.github.com/repos/stellarjs/stellarjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/stellarjs/stellarjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/stellarjs/stellarjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/stellarjs/stellarjs/contents/{+path}","compare_url":"https://api.github.com/repos/stellarjs/stellarjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stellarjs/stellarjs/merges","archive_url":"https://api.github.com/repos/stellarjs/stellarjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stellarjs/stellarjs/downloads","issues_url":"https://api.github.com/repos/stellarjs/stellarjs/issues{/number}","pulls_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls{/number}","milestones_url":"https://api.github.com/repos/stellarjs/stellarjs/milestones{/number}","notifications_url":"https://api.github.com/repos/stellarjs/stellarjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stellarjs/stellarjs/labels{/name}","releases_url":"https://api.github.com/repos/stellarjs/stellarjs/releases{/id}","deployments_url":"https://api.github.com/repos/stellarjs/stellarjs/deployments","created_at":"2017-05-15T09:21:12Z","updated_at":"2017-07-10T08:14:19Z","pushed_at":"2017-11-16T08:59:33Z","git_url":"git://github.com/stellarjs/stellarjs.git","ssh_url":"git@github.com:stellarjs/stellarjs.git","clone_url":"https://github.com/stellarjs/stellarjs.git","svn_url":"https://github.com/stellarjs/stellarjs","homepage":null,"size":722,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":8,"default_branch":"master"}},"base":{"label":"stellarjs:master","ref":"master","sha":"2436f50112a222633f6ebe0f2c48a32b70a694a9","user":{"login":"stellarjs","id":26953965,"avatar_url":"https://avatars0.githubusercontent.com/u/26953965?v=4","gravatar_id":"","url":"https://api.github.com/users/stellarjs","html_url":"https://github.com/stellarjs","followers_url":"https://api.github.com/users/stellarjs/followers","following_url":"https://api.github.com/users/stellarjs/following{/other_user}","gists_url":"https://api.github.com/users/stellarjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarjs/subscriptions","organizations_url":"https://api.github.com/users/stellarjs/orgs","repos_url":"https://api.github.com/users/stellarjs/repos","events_url":"https://api.github.com/users/stellarjs/events{/privacy}","received_events_url":"https://api.github.com/users/stellarjs/received_events","type":"Organization","site_admin":false},"repo":{"id":91318949,"name":"stellarjs","full_name":"stellarjs/stellarjs","owner":{"login":"stellarjs","id":26953965,"avatar_url":"https://avatars0.githubusercontent.com/u/26953965?v=4","gravatar_id":"","url":"https://api.github.com/users/stellarjs","html_url":"https://github.com/stellarjs","followers_url":"https://api.github.com/users/stellarjs/followers","following_url":"https://api.github.com/users/stellarjs/following{/other_user}","gists_url":"https://api.github.com/users/stellarjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarjs/subscriptions","organizations_url":"https://api.github.com/users/stellarjs/orgs","repos_url":"https://api.github.com/users/stellarjs/repos","events_url":"https://api.github.com/users/stellarjs/events{/privacy}","received_events_url":"https://api.github.com/users/stellarjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stellarjs/stellarjs","description":"Stellar Microservices Framework","fork":false,"url":"https://api.github.com/repos/stellarjs/stellarjs","forks_url":"https://api.github.com/repos/stellarjs/stellarjs/forks","keys_url":"https://api.github.com/repos/stellarjs/stellarjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stellarjs/stellarjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stellarjs/stellarjs/teams","hooks_url":"https://api.github.com/repos/stellarjs/stellarjs/hooks","issue_events_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/events{/number}","events_url":"https://api.github.com/repos/stellarjs/stellarjs/events","assignees_url":"https://api.github.com/repos/stellarjs/stellarjs/assignees{/user}","branches_url":"https://api.github.com/repos/stellarjs/stellarjs/branches{/branch}","tags_url":"https://api.github.com/repos/stellarjs/stellarjs/tags","blobs_url":"https://api.github.com/repos/stellarjs/stellarjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stellarjs/stellarjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stellarjs/stellarjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/stellarjs/stellarjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stellarjs/stellarjs/statuses/{sha}","languages_url":"https://api.github.com/repos/stellarjs/stellarjs/languages","stargazers_url":"https://api.github.com/repos/stellarjs/stellarjs/stargazers","contributors_url":"https://api.github.com/repos/stellarjs/stellarjs/contributors","subscribers_url":"https://api.github.com/repos/stellarjs/stellarjs/subscribers","subscription_url":"https://api.github.com/repos/stellarjs/stellarjs/subscription","commits_url":"https://api.github.com/repos/stellarjs/stellarjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/stellarjs/stellarjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/stellarjs/stellarjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/stellarjs/stellarjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/stellarjs/stellarjs/contents/{+path}","compare_url":"https://api.github.com/repos/stellarjs/stellarjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stellarjs/stellarjs/merges","archive_url":"https://api.github.com/repos/stellarjs/stellarjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stellarjs/stellarjs/downloads","issues_url":"https://api.github.com/repos/stellarjs/stellarjs/issues{/number}","pulls_url":"https://api.github.com/repos/stellarjs/stellarjs/pulls{/number}","milestones_url":"https://api.github.com/repos/stellarjs/stellarjs/milestones{/number}","notifications_url":"https://api.github.com/repos/stellarjs/stellarjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stellarjs/stellarjs/labels{/name}","releases_url":"https://api.github.com/repos/stellarjs/stellarjs/releases{/id}","deployments_url":"https://api.github.com/repos/stellarjs/stellarjs/deployments","created_at":"2017-05-15T09:21:12Z","updated_at":"2017-07-10T08:14:19Z","pushed_at":"2017-11-16T08:59:33Z","git_url":"git://github.com/stellarjs/stellarjs.git","ssh_url":"git@github.com:stellarjs/stellarjs.git","clone_url":"https://github.com/stellarjs/stellarjs.git","svn_url":"https://github.com/stellarjs/stellarjs","homepage":null,"size":722,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76"},"html":{"href":"https://github.com/stellarjs/stellarjs/pull/76"},"issue":{"href":"https://api.github.com/repos/stellarjs/stellarjs/issues/76"},"comments":{"href":"https://api.github.com/repos/stellarjs/stellarjs/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stellarjs/stellarjs/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/stellarjs/stellarjs/statuses/50bb92ba16cda9f61751cd50bfb2476b983e9d22"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sloops77"}}