{"action":"closed","number":581,"pull_request":{"url":"https://api.github.com/repos/company-mode/company-mode/pulls/581","id":84255337,"html_url":"https://github.com/company-mode/company-mode/pull/581","diff_url":"https://github.com/company-mode/company-mode/pull/581.diff","patch_url":"https://github.com/company-mode/company-mode/pull/581.patch","issue_url":"https://api.github.com/repos/company-mode/company-mode/issues/581","number":581,"state":"closed","locked":false,"title":"Allow async backends to cache future results","user":{"login":"aaronjensen","id":8588,"avatar_url":"https://avatars3.githubusercontent.com/u/8588?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronjensen","html_url":"https://github.com/aaronjensen","followers_url":"https://api.github.com/users/aaronjensen/followers","following_url":"https://api.github.com/users/aaronjensen/following{/other_user}","gists_url":"https://api.github.com/users/aaronjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjensen/subscriptions","organizations_url":"https://api.github.com/users/aaronjensen/orgs","repos_url":"https://api.github.com/users/aaronjensen/repos","events_url":"https://api.github.com/users/aaronjensen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjensen/received_events","type":"User","site_admin":false},"body":"If an async backend has not yet called its callback and the user\ncontinues to type along the symbol that was being completed and the\nbackend supports caching, then instead of firing the backend again we\nwait for the result of the first and use it.\n\nFixes #580 \n\nHere is one possible way to do this. What do you think?\n","created_at":"2016-09-07T08:15:56Z","updated_at":"2018-02-11T22:53:04Z","closed_at":"2018-02-11T22:53:04Z","merged_at":null,"merge_commit_sha":"f11c762a2a1b0779ea1de0a2fa3caaa63ec5402f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/company-mode/company-mode/pulls/581/commits","review_comments_url":"https://api.github.com/repos/company-mode/company-mode/pulls/581/comments","review_comment_url":"https://api.github.com/repos/company-mode/company-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/company-mode/company-mode/issues/581/comments","statuses_url":"https://api.github.com/repos/company-mode/company-mode/statuses/a3d6bb0218624635899b0bbe8b6940bac7319c56","head":{"label":"aaronjensen:async-improvements","ref":"async-improvements","sha":"a3d6bb0218624635899b0bbe8b6940bac7319c56","user":{"login":"aaronjensen","id":8588,"avatar_url":"https://avatars3.githubusercontent.com/u/8588?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronjensen","html_url":"https://github.com/aaronjensen","followers_url":"https://api.github.com/users/aaronjensen/followers","following_url":"https://api.github.com/users/aaronjensen/following{/other_user}","gists_url":"https://api.github.com/users/aaronjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjensen/subscriptions","organizations_url":"https://api.github.com/users/aaronjensen/orgs","repos_url":"https://api.github.com/users/aaronjensen/repos","events_url":"https://api.github.com/users/aaronjensen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjensen/received_events","type":"User","site_admin":false},"repo":{"id":66742255,"name":"company-mode","full_name":"aaronjensen/company-mode","owner":{"login":"aaronjensen","id":8588,"avatar_url":"https://avatars3.githubusercontent.com/u/8588?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronjensen","html_url":"https://github.com/aaronjensen","followers_url":"https://api.github.com/users/aaronjensen/followers","following_url":"https://api.github.com/users/aaronjensen/following{/other_user}","gists_url":"https://api.github.com/users/aaronjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjensen/subscriptions","organizations_url":"https://api.github.com/users/aaronjensen/orgs","repos_url":"https://api.github.com/users/aaronjensen/repos","events_url":"https://api.github.com/users/aaronjensen/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjensen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaronjensen/company-mode","description":"Modular in-buffer completion framework for Emacs","fork":true,"url":"https://api.github.com/repos/aaronjensen/company-mode","forks_url":"https://api.github.com/repos/aaronjensen/company-mode/forks","keys_url":"https://api.github.com/repos/aaronjensen/company-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaronjensen/company-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaronjensen/company-mode/teams","hooks_url":"https://api.github.com/repos/aaronjensen/company-mode/hooks","issue_events_url":"https://api.github.com/repos/aaronjensen/company-mode/issues/events{/number}","events_url":"https://api.github.com/repos/aaronjensen/company-mode/events","assignees_url":"https://api.github.com/repos/aaronjensen/company-mode/assignees{/user}","branches_url":"https://api.github.com/repos/aaronjensen/company-mode/branches{/branch}","tags_url":"https://api.github.com/repos/aaronjensen/company-mode/tags","blobs_url":"https://api.github.com/repos/aaronjensen/company-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaronjensen/company-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaronjensen/company-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaronjensen/company-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaronjensen/company-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/aaronjensen/company-mode/languages","stargazers_url":"https://api.github.com/repos/aaronjensen/company-mode/stargazers","contributors_url":"https://api.github.com/repos/aaronjensen/company-mode/contributors","subscribers_url":"https://api.github.com/repos/aaronjensen/company-mode/subscribers","subscription_url":"https://api.github.com/repos/aaronjensen/company-mode/subscription","commits_url":"https://api.github.com/repos/aaronjensen/company-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaronjensen/company-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaronjensen/company-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaronjensen/company-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaronjensen/company-mode/contents/{+path}","compare_url":"https://api.github.com/repos/aaronjensen/company-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaronjensen/company-mode/merges","archive_url":"https://api.github.com/repos/aaronjensen/company-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaronjensen/company-mode/downloads","issues_url":"https://api.github.com/repos/aaronjensen/company-mode/issues{/number}","pulls_url":"https://api.github.com/repos/aaronjensen/company-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/aaronjensen/company-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/aaronjensen/company-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaronjensen/company-mode/labels{/name}","releases_url":"https://api.github.com/repos/aaronjensen/company-mode/releases{/id}","deployments_url":"https://api.github.com/repos/aaronjensen/company-mode/deployments","created_at":"2016-08-28T00:47:41Z","updated_at":"2016-08-28T00:47:42Z","pushed_at":"2017-10-07T00:46:11Z","git_url":"git://github.com/aaronjensen/company-mode.git","ssh_url":"git@github.com:aaronjensen/company-mode.git","clone_url":"https://github.com/aaronjensen/company-mode.git","svn_url":"https://github.com/aaronjensen/company-mode","homepage":"http://company-mode.github.io/","size":2335,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"company-mode:master","ref":"master","sha":"f2327bc7f303fcf83c3d8f9c76f61deaa110ebb5","user":{"login":"company-mode","id":3876582,"avatar_url":"https://avatars2.githubusercontent.com/u/3876582?v=4","gravatar_id":"","url":"https://api.github.com/users/company-mode","html_url":"https://github.com/company-mode","followers_url":"https://api.github.com/users/company-mode/followers","following_url":"https://api.github.com/users/company-mode/following{/other_user}","gists_url":"https://api.github.com/users/company-mode/gists{/gist_id}","starred_url":"https://api.github.com/users/company-mode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/company-mode/subscriptions","organizations_url":"https://api.github.com/users/company-mode/orgs","repos_url":"https://api.github.com/users/company-mode/repos","events_url":"https://api.github.com/users/company-mode/events{/privacy}","received_events_url":"https://api.github.com/users/company-mode/received_events","type":"Organization","site_admin":false},"repo":{"id":194858,"name":"company-mode","full_name":"company-mode/company-mode","owner":{"login":"company-mode","id":3876582,"avatar_url":"https://avatars2.githubusercontent.com/u/3876582?v=4","gravatar_id":"","url":"https://api.github.com/users/company-mode","html_url":"https://github.com/company-mode","followers_url":"https://api.github.com/users/company-mode/followers","following_url":"https://api.github.com/users/company-mode/following{/other_user}","gists_url":"https://api.github.com/users/company-mode/gists{/gist_id}","starred_url":"https://api.github.com/users/company-mode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/company-mode/subscriptions","organizations_url":"https://api.github.com/users/company-mode/orgs","repos_url":"https://api.github.com/users/company-mode/repos","events_url":"https://api.github.com/users/company-mode/events{/privacy}","received_events_url":"https://api.github.com/users/company-mode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/company-mode/company-mode","description":"Modular in-buffer completion framework for Emacs","fork":false,"url":"https://api.github.com/repos/company-mode/company-mode","forks_url":"https://api.github.com/repos/company-mode/company-mode/forks","keys_url":"https://api.github.com/repos/company-mode/company-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/company-mode/company-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/company-mode/company-mode/teams","hooks_url":"https://api.github.com/repos/company-mode/company-mode/hooks","issue_events_url":"https://api.github.com/repos/company-mode/company-mode/issues/events{/number}","events_url":"https://api.github.com/repos/company-mode/company-mode/events","assignees_url":"https://api.github.com/repos/company-mode/company-mode/assignees{/user}","branches_url":"https://api.github.com/repos/company-mode/company-mode/branches{/branch}","tags_url":"https://api.github.com/repos/company-mode/company-mode/tags","blobs_url":"https://api.github.com/repos/company-mode/company-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/company-mode/company-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/company-mode/company-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/company-mode/company-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/company-mode/company-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/company-mode/company-mode/languages","stargazers_url":"https://api.github.com/repos/company-mode/company-mode/stargazers","contributors_url":"https://api.github.com/repos/company-mode/company-mode/contributors","subscribers_url":"https://api.github.com/repos/company-mode/company-mode/subscribers","subscription_url":"https://api.github.com/repos/company-mode/company-mode/subscription","commits_url":"https://api.github.com/repos/company-mode/company-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/company-mode/company-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/company-mode/company-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/company-mode/company-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/company-mode/company-mode/contents/{+path}","compare_url":"https://api.github.com/repos/company-mode/company-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/company-mode/company-mode/merges","archive_url":"https://api.github.com/repos/company-mode/company-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/company-mode/company-mode/downloads","issues_url":"https://api.github.com/repos/company-mode/company-mode/issues{/number}","pulls_url":"https://api.github.com/repos/company-mode/company-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/company-mode/company-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/company-mode/company-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/company-mode/company-mode/labels{/name}","releases_url":"https://api.github.com/repos/company-mode/company-mode/releases{/id}","deployments_url":"https://api.github.com/repos/company-mode/company-mode/deployments","created_at":"2009-05-07T10:49:46Z","updated_at":"2018-02-11T21:10:25Z","pushed_at":"2018-02-11T21:19:35Z","git_url":"git://github.com/company-mode/company-mode.git","ssh_url":"git@github.com:company-mode/company-mode.git","clone_url":"https://github.com/company-mode/company-mode.git","svn_url":"https://github.com/company-mode/company-mode","homepage":"http://company-mode.github.io/","size":2646,"stargazers_count":1091,"watchers_count":1091,"language":"Emacs Lisp","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"archived":false,"open_issues_count":113,"license":null,"forks":129,"open_issues":113,"watchers":1091,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/company-mode/company-mode/pulls/581"},"html":{"href":"https://github.com/company-mode/company-mode/pull/581"},"issue":{"href":"https://api.github.com/repos/company-mode/company-mode/issues/581"},"comments":{"href":"https://api.github.com/repos/company-mode/company-mode/issues/581/comments"},"review_comments":{"href":"https://api.github.com/repos/company-mode/company-mode/pulls/581/comments"},"review_comment":{"href":"https://api.github.com/repos/company-mode/company-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/company-mode/company-mode/pulls/581/commits"},"statuses":{"href":"https://api.github.com/repos/company-mode/company-mode/statuses/a3d6bb0218624635899b0bbe8b6940bac7319c56"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":6,"maintainer_can_modify":false,"commits":1,"additions":17,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"dgutov"}}