{"action":"created","comment":{"url":"https://api.github.com/repos/deliveryhero/lymph/pulls/comments/24991576","id":24991576,"diff_hunk":"@@ -165,6 +165,30 @@ answer or it times out. If you require asynchronous communication, please refer\n :doc:`events`.\n \n \n+Deferred RPC calls\n+------------------\n+\n+Classic RPC calls block until the response is received. A deferred RPC call mechanism\n+is implemented in case you wish to consume the RPC response later, or simply ingore\n+it.\n+\n+The call interface is similar to making a regular RPC call, with the addition of\n+adding .deferred call after it.\n+\n+In that case, the call will return a Future (the actual implementation is a \n+gevent AsyncResult which will block only when it's .get method is called.","path":"docs/topics/rpc.rst","position":15,"original_position":15,"commit_id":"0a975ff97fb9288cbcae0b508610bc91efe7785c","original_commit_id":"0a975ff97fb9288cbcae0b508610bc91efe7785c","user":{"login":"emulbreh","id":120118,"avatar_url":"https://avatars.githubusercontent.com/u/120118?v=3","gravatar_id":"","url":"https://api.github.com/users/emulbreh","html_url":"https://github.com/emulbreh","followers_url":"https://api.github.com/users/emulbreh/followers","following_url":"https://api.github.com/users/emulbreh/following{/other_user}","gists_url":"https://api.github.com/users/emulbreh/gists{/gist_id}","starred_url":"https://api.github.com/users/emulbreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emulbreh/subscriptions","organizations_url":"https://api.github.com/users/emulbreh/orgs","repos_url":"https://api.github.com/users/emulbreh/repos","events_url":"https://api.github.com/users/emulbreh/events{/privacy}","received_events_url":"https://api.github.com/users/emulbreh/received_events","type":"User","site_admin":false},"body":"unbalanced parentheses :)","created_at":"2015-02-19T14:41:55Z","updated_at":"2015-02-19T14:41:55Z","html_url":"https://github.com/deliveryhero/lymph/pull/100#discussion_r24991576","pull_request_url":"https://api.github.com/repos/deliveryhero/lymph/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/comments/24991576"},"html":{"href":"https://github.com/deliveryhero/lymph/pull/100#discussion_r24991576"},"pull_request":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/deliveryhero/lymph/pulls/100","id":29089576,"html_url":"https://github.com/deliveryhero/lymph/pull/100","diff_url":"https://github.com/deliveryhero/lymph/pull/100.diff","patch_url":"https://github.com/deliveryhero/lymph/pull/100.patch","issue_url":"https://api.github.com/repos/deliveryhero/lymph/issues/100","number":100,"state":"open","locked":false,"title":"Deferred call","user":{"login":"MislavStipetic","id":9531084,"avatar_url":"https://avatars.githubusercontent.com/u/9531084?v=3","gravatar_id":"","url":"https://api.github.com/users/MislavStipetic","html_url":"https://github.com/MislavStipetic","followers_url":"https://api.github.com/users/MislavStipetic/followers","following_url":"https://api.github.com/users/MislavStipetic/following{/other_user}","gists_url":"https://api.github.com/users/MislavStipetic/gists{/gist_id}","starred_url":"https://api.github.com/users/MislavStipetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MislavStipetic/subscriptions","organizations_url":"https://api.github.com/users/MislavStipetic/orgs","repos_url":"https://api.github.com/users/MislavStipetic/repos","events_url":"https://api.github.com/users/MislavStipetic/events{/privacy}","received_events_url":"https://api.github.com/users/MislavStipetic/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-11T13:13:36Z","updated_at":"2015-02-19T14:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39fe4372b2c446b32fb4ef5a2476e5864b0fdd76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deliveryhero/lymph/pulls/100/commits","review_comments_url":"https://api.github.com/repos/deliveryhero/lymph/pulls/100/comments","review_comment_url":"https://api.github.com/repos/deliveryhero/lymph/pulls/comments/{number}","comments_url":"https://api.github.com/repos/deliveryhero/lymph/issues/100/comments","statuses_url":"https://api.github.com/repos/deliveryhero/lymph/statuses/0a975ff97fb9288cbcae0b508610bc91efe7785c","head":{"label":"MislavStipetic:deferred_call","ref":"deferred_call","sha":"0a975ff97fb9288cbcae0b508610bc91efe7785c","user":{"login":"MislavStipetic","id":9531084,"avatar_url":"https://avatars.githubusercontent.com/u/9531084?v=3","gravatar_id":"","url":"https://api.github.com/users/MislavStipetic","html_url":"https://github.com/MislavStipetic","followers_url":"https://api.github.com/users/MislavStipetic/followers","following_url":"https://api.github.com/users/MislavStipetic/following{/other_user}","gists_url":"https://api.github.com/users/MislavStipetic/gists{/gist_id}","starred_url":"https://api.github.com/users/MislavStipetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MislavStipetic/subscriptions","organizations_url":"https://api.github.com/users/MislavStipetic/orgs","repos_url":"https://api.github.com/users/MislavStipetic/repos","events_url":"https://api.github.com/users/MislavStipetic/events{/privacy}","received_events_url":"https://api.github.com/users/MislavStipetic/received_events","type":"User","site_admin":false},"repo":{"id":26912559,"name":"lymph","full_name":"MislavStipetic/lymph","owner":{"login":"MislavStipetic","id":9531084,"avatar_url":"https://avatars.githubusercontent.com/u/9531084?v=3","gravatar_id":"","url":"https://api.github.com/users/MislavStipetic","html_url":"https://github.com/MislavStipetic","followers_url":"https://api.github.com/users/MislavStipetic/followers","following_url":"https://api.github.com/users/MislavStipetic/following{/other_user}","gists_url":"https://api.github.com/users/MislavStipetic/gists{/gist_id}","starred_url":"https://api.github.com/users/MislavStipetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MislavStipetic/subscriptions","organizations_url":"https://api.github.com/users/MislavStipetic/orgs","repos_url":"https://api.github.com/users/MislavStipetic/repos","events_url":"https://api.github.com/users/MislavStipetic/events{/privacy}","received_events_url":"https://api.github.com/users/MislavStipetic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MislavStipetic/lymph","description":"framework for python services","fork":true,"url":"https://api.github.com/repos/MislavStipetic/lymph","forks_url":"https://api.github.com/repos/MislavStipetic/lymph/forks","keys_url":"https://api.github.com/repos/MislavStipetic/lymph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MislavStipetic/lymph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MislavStipetic/lymph/teams","hooks_url":"https://api.github.com/repos/MislavStipetic/lymph/hooks","issue_events_url":"https://api.github.com/repos/MislavStipetic/lymph/issues/events{/number}","events_url":"https://api.github.com/repos/MislavStipetic/lymph/events","assignees_url":"https://api.github.com/repos/MislavStipetic/lymph/assignees{/user}","branches_url":"https://api.github.com/repos/MislavStipetic/lymph/branches{/branch}","tags_url":"https://api.github.com/repos/MislavStipetic/lymph/tags","blobs_url":"https://api.github.com/repos/MislavStipetic/lymph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MislavStipetic/lymph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MislavStipetic/lymph/git/refs{/sha}","trees_url":"https://api.github.com/repos/MislavStipetic/lymph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MislavStipetic/lymph/statuses/{sha}","languages_url":"https://api.github.com/repos/MislavStipetic/lymph/languages","stargazers_url":"https://api.github.com/repos/MislavStipetic/lymph/stargazers","contributors_url":"https://api.github.com/repos/MislavStipetic/lymph/contributors","subscribers_url":"https://api.github.com/repos/MislavStipetic/lymph/subscribers","subscription_url":"https://api.github.com/repos/MislavStipetic/lymph/subscription","commits_url":"https://api.github.com/repos/MislavStipetic/lymph/commits{/sha}","git_commits_url":"https://api.github.com/repos/MislavStipetic/lymph/git/commits{/sha}","comments_url":"https://api.github.com/repos/MislavStipetic/lymph/comments{/number}","issue_comment_url":"https://api.github.com/repos/MislavStipetic/lymph/issues/comments/{number}","contents_url":"https://api.github.com/repos/MislavStipetic/lymph/contents/{+path}","compare_url":"https://api.github.com/repos/MislavStipetic/lymph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MislavStipetic/lymph/merges","archive_url":"https://api.github.com/repos/MislavStipetic/lymph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MislavStipetic/lymph/downloads","issues_url":"https://api.github.com/repos/MislavStipetic/lymph/issues{/number}","pulls_url":"https://api.github.com/repos/MislavStipetic/lymph/pulls{/number}","milestones_url":"https://api.github.com/repos/MislavStipetic/lymph/milestones{/number}","notifications_url":"https://api.github.com/repos/MislavStipetic/lymph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MislavStipetic/lymph/labels{/name}","releases_url":"https://api.github.com/repos/MislavStipetic/lymph/releases{/id}","created_at":"2014-11-20T13:02:36Z","updated_at":"2015-02-11T10:46:17Z","pushed_at":"2015-02-19T13:49:23Z","git_url":"git://github.com/MislavStipetic/lymph.git","ssh_url":"git@github.com:MislavStipetic/lymph.git","clone_url":"https://github.com/MislavStipetic/lymph.git","svn_url":"https://github.com/MislavStipetic/lymph","homepage":"","size":561,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"deliveryhero:master","ref":"master","sha":"e2e151f1487b94a47034dcc41a3514e540ee9e71","user":{"login":"deliveryhero","id":7225556,"avatar_url":"https://avatars.githubusercontent.com/u/7225556?v=3","gravatar_id":"","url":"https://api.github.com/users/deliveryhero","html_url":"https://github.com/deliveryhero","followers_url":"https://api.github.com/users/deliveryhero/followers","following_url":"https://api.github.com/users/deliveryhero/following{/other_user}","gists_url":"https://api.github.com/users/deliveryhero/gists{/gist_id}","starred_url":"https://api.github.com/users/deliveryhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deliveryhero/subscriptions","organizations_url":"https://api.github.com/users/deliveryhero/orgs","repos_url":"https://api.github.com/users/deliveryhero/repos","events_url":"https://api.github.com/users/deliveryhero/events{/privacy}","received_events_url":"https://api.github.com/users/deliveryhero/received_events","type":"Organization","site_admin":false},"repo":{"id":20250192,"name":"lymph","full_name":"deliveryhero/lymph","owner":{"login":"deliveryhero","id":7225556,"avatar_url":"https://avatars.githubusercontent.com/u/7225556?v=3","gravatar_id":"","url":"https://api.github.com/users/deliveryhero","html_url":"https://github.com/deliveryhero","followers_url":"https://api.github.com/users/deliveryhero/followers","following_url":"https://api.github.com/users/deliveryhero/following{/other_user}","gists_url":"https://api.github.com/users/deliveryhero/gists{/gist_id}","starred_url":"https://api.github.com/users/deliveryhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deliveryhero/subscriptions","organizations_url":"https://api.github.com/users/deliveryhero/orgs","repos_url":"https://api.github.com/users/deliveryhero/repos","events_url":"https://api.github.com/users/deliveryhero/events{/privacy}","received_events_url":"https://api.github.com/users/deliveryhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deliveryhero/lymph","description":"framework for python services","fork":false,"url":"https://api.github.com/repos/deliveryhero/lymph","forks_url":"https://api.github.com/repos/deliveryhero/lymph/forks","keys_url":"https://api.github.com/repos/deliveryhero/lymph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deliveryhero/lymph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deliveryhero/lymph/teams","hooks_url":"https://api.github.com/repos/deliveryhero/lymph/hooks","issue_events_url":"https://api.github.com/repos/deliveryhero/lymph/issues/events{/number}","events_url":"https://api.github.com/repos/deliveryhero/lymph/events","assignees_url":"https://api.github.com/repos/deliveryhero/lymph/assignees{/user}","branches_url":"https://api.github.com/repos/deliveryhero/lymph/branches{/branch}","tags_url":"https://api.github.com/repos/deliveryhero/lymph/tags","blobs_url":"https://api.github.com/repos/deliveryhero/lymph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deliveryhero/lymph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deliveryhero/lymph/git/refs{/sha}","trees_url":"https://api.github.com/repos/deliveryhero/lymph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deliveryhero/lymph/statuses/{sha}","languages_url":"https://api.github.com/repos/deliveryhero/lymph/languages","stargazers_url":"https://api.github.com/repos/deliveryhero/lymph/stargazers","contributors_url":"https://api.github.com/repos/deliveryhero/lymph/contributors","subscribers_url":"https://api.github.com/repos/deliveryhero/lymph/subscribers","subscription_url":"https://api.github.com/repos/deliveryhero/lymph/subscription","commits_url":"https://api.github.com/repos/deliveryhero/lymph/commits{/sha}","git_commits_url":"https://api.github.com/repos/deliveryhero/lymph/git/commits{/sha}","comments_url":"https://api.github.com/repos/deliveryhero/lymph/comments{/number}","issue_comment_url":"https://api.github.com/repos/deliveryhero/lymph/issues/comments/{number}","contents_url":"https://api.github.com/repos/deliveryhero/lymph/contents/{+path}","compare_url":"https://api.github.com/repos/deliveryhero/lymph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deliveryhero/lymph/merges","archive_url":"https://api.github.com/repos/deliveryhero/lymph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deliveryhero/lymph/downloads","issues_url":"https://api.github.com/repos/deliveryhero/lymph/issues{/number}","pulls_url":"https://api.github.com/repos/deliveryhero/lymph/pulls{/number}","milestones_url":"https://api.github.com/repos/deliveryhero/lymph/milestones{/number}","notifications_url":"https://api.github.com/repos/deliveryhero/lymph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deliveryhero/lymph/labels{/name}","releases_url":"https://api.github.com/repos/deliveryhero/lymph/releases{/id}","created_at":"2014-05-28T08:24:51Z","updated_at":"2015-02-19T10:34:35Z","pushed_at":"2015-02-19T10:34:35Z","git_url":"git://github.com/deliveryhero/lymph.git","ssh_url":"git@github.com:deliveryhero/lymph.git","clone_url":"https://github.com/deliveryhero/lymph.git","svn_url":"https://github.com/deliveryhero/lymph","homepage":"","size":1778,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":7,"forks":16,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/100"},"html":{"href":"https://github.com/deliveryhero/lymph/pull/100"},"issue":{"href":"https://api.github.com/repos/deliveryhero/lymph/issues/100"},"comments":{"href":"https://api.github.com/repos/deliveryhero/lymph/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/deliveryhero/lymph/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/deliveryhero/lymph/statuses/0a975ff97fb9288cbcae0b508610bc91efe7785c"}}}}