{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/tobie/bull/pulls/1","id":39666716,"html_url":"https://github.com/tobie/bull/pull/1","diff_url":"https://github.com/tobie/bull/pull/1.diff","patch_url":"https://github.com/tobie/bull/pull/1.patch","issue_url":"https://api.github.com/repos/tobie/bull/issues/1","number":1,"state":"open","locked":false,"title":"Document passing a result to process callback","user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"body":"I've struggled for quite a while trying to figure out how to pass a result to the complete event, so I thought I'd document this so others wouldn't waste time as well.","created_at":"2015-07-10T09:27:13Z","updated_at":"2015-07-10T09:27:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tobie/bull/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tobie/bull/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tobie/bull/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tobie/bull/issues/1/comments","statuses_url":"https://api.github.com/repos/tobie/bull/statuses/b2301709c194a30f1fe4c46bd73038858a8d6a83","head":{"label":"tobie:doc-result","ref":"doc-result","sha":"b2301709c194a30f1fe4c46bd73038858a8d6a83","user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"repo":{"id":38866645,"name":"bull","full_name":"tobie/bull","owner":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobie/bull","description":"A NodeJS persistent job and message queue based on Redis","fork":true,"url":"https://api.github.com/repos/tobie/bull","forks_url":"https://api.github.com/repos/tobie/bull/forks","keys_url":"https://api.github.com/repos/tobie/bull/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobie/bull/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobie/bull/teams","hooks_url":"https://api.github.com/repos/tobie/bull/hooks","issue_events_url":"https://api.github.com/repos/tobie/bull/issues/events{/number}","events_url":"https://api.github.com/repos/tobie/bull/events","assignees_url":"https://api.github.com/repos/tobie/bull/assignees{/user}","branches_url":"https://api.github.com/repos/tobie/bull/branches{/branch}","tags_url":"https://api.github.com/repos/tobie/bull/tags","blobs_url":"https://api.github.com/repos/tobie/bull/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobie/bull/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobie/bull/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobie/bull/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobie/bull/statuses/{sha}","languages_url":"https://api.github.com/repos/tobie/bull/languages","stargazers_url":"https://api.github.com/repos/tobie/bull/stargazers","contributors_url":"https://api.github.com/repos/tobie/bull/contributors","subscribers_url":"https://api.github.com/repos/tobie/bull/subscribers","subscription_url":"https://api.github.com/repos/tobie/bull/subscription","commits_url":"https://api.github.com/repos/tobie/bull/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobie/bull/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobie/bull/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobie/bull/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobie/bull/contents/{+path}","compare_url":"https://api.github.com/repos/tobie/bull/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobie/bull/merges","archive_url":"https://api.github.com/repos/tobie/bull/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobie/bull/downloads","issues_url":"https://api.github.com/repos/tobie/bull/issues{/number}","pulls_url":"https://api.github.com/repos/tobie/bull/pulls{/number}","milestones_url":"https://api.github.com/repos/tobie/bull/milestones{/number}","notifications_url":"https://api.github.com/repos/tobie/bull/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobie/bull/labels{/name}","releases_url":"https://api.github.com/repos/tobie/bull/releases{/id}","created_at":"2015-07-10T07:14:14Z","updated_at":"2015-07-10T07:14:14Z","pushed_at":"2015-07-10T09:25:43Z","git_url":"git://github.com/tobie/bull.git","ssh_url":"git@github.com:tobie/bull.git","clone_url":"https://github.com/tobie/bull.git","svn_url":"https://github.com/tobie/bull","homepage":"","size":1126,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tobie:master","ref":"master","sha":"492967f49f61b3959f415f95770fea0c73479d67","user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"repo":{"id":38866645,"name":"bull","full_name":"tobie/bull","owner":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobie/bull","description":"A NodeJS persistent job and message queue based on Redis","fork":true,"url":"https://api.github.com/repos/tobie/bull","forks_url":"https://api.github.com/repos/tobie/bull/forks","keys_url":"https://api.github.com/repos/tobie/bull/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobie/bull/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobie/bull/teams","hooks_url":"https://api.github.com/repos/tobie/bull/hooks","issue_events_url":"https://api.github.com/repos/tobie/bull/issues/events{/number}","events_url":"https://api.github.com/repos/tobie/bull/events","assignees_url":"https://api.github.com/repos/tobie/bull/assignees{/user}","branches_url":"https://api.github.com/repos/tobie/bull/branches{/branch}","tags_url":"https://api.github.com/repos/tobie/bull/tags","blobs_url":"https://api.github.com/repos/tobie/bull/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobie/bull/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobie/bull/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobie/bull/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobie/bull/statuses/{sha}","languages_url":"https://api.github.com/repos/tobie/bull/languages","stargazers_url":"https://api.github.com/repos/tobie/bull/stargazers","contributors_url":"https://api.github.com/repos/tobie/bull/contributors","subscribers_url":"https://api.github.com/repos/tobie/bull/subscribers","subscription_url":"https://api.github.com/repos/tobie/bull/subscription","commits_url":"https://api.github.com/repos/tobie/bull/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobie/bull/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobie/bull/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobie/bull/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobie/bull/contents/{+path}","compare_url":"https://api.github.com/repos/tobie/bull/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobie/bull/merges","archive_url":"https://api.github.com/repos/tobie/bull/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobie/bull/downloads","issues_url":"https://api.github.com/repos/tobie/bull/issues{/number}","pulls_url":"https://api.github.com/repos/tobie/bull/pulls{/number}","milestones_url":"https://api.github.com/repos/tobie/bull/milestones{/number}","notifications_url":"https://api.github.com/repos/tobie/bull/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobie/bull/labels{/name}","releases_url":"https://api.github.com/repos/tobie/bull/releases{/id}","created_at":"2015-07-10T07:14:14Z","updated_at":"2015-07-10T07:14:14Z","pushed_at":"2015-07-10T09:25:43Z","git_url":"git://github.com/tobie/bull.git","ssh_url":"git@github.com:tobie/bull.git","clone_url":"https://github.com/tobie/bull.git","svn_url":"https://github.com/tobie/bull","homepage":"","size":1126,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tobie/bull/pulls/1"},"html":{"href":"https://github.com/tobie/bull/pull/1"},"issue":{"href":"https://api.github.com/repos/tobie/bull/issues/1"},"comments":{"href":"https://api.github.com/repos/tobie/bull/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tobie/bull/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tobie/bull/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tobie/bull/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tobie/bull/statuses/b2301709c194a30f1fe4c46bd73038858a8d6a83"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":6,"changed_files":1}}