{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/141","repository_url":"https://api.github.com/repos/Microsoft/language-server-protocol","labels_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/141/comments","events_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/141/events","html_url":"https://github.com/Microsoft/language-server-protocol/issues/141","id":194290416,"number":141,"title":"Check partial answers for ongoing requests","user":{"login":"vladdu","id":9707,"avatar_url":"https://avatars.githubusercontent.com/u/9707?v=3","gravatar_id":"","url":"https://api.github.com/users/vladdu","html_url":"https://github.com/vladdu","followers_url":"https://api.github.com/users/vladdu/followers","following_url":"https://api.github.com/users/vladdu/following{/other_user}","gists_url":"https://api.github.com/users/vladdu/gists{/gist_id}","starred_url":"https://api.github.com/users/vladdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladdu/subscriptions","organizations_url":"https://api.github.com/users/vladdu/orgs","repos_url":"https://api.github.com/users/vladdu/repos","events_url":"https://api.github.com/users/vladdu/events{/privacy}","received_events_url":"https://api.github.com/users/vladdu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-08T09:50:05Z","updated_at":"2016-12-28T00:23:20Z","closed_at":null,"body":"For long-running requests, it makes sense to show partial results in the UI (for example when searching for all references in a workspace, but even for completion). Streaming them from the server is not a very good idea, but the client could send progress requests whenever it wants and receive the current results, updating the UI. Kind of like `cancelRequest` but without cancelling.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/comments/269402349","html_url":"https://github.com/Microsoft/language-server-protocol/issues/141#issuecomment-269402349","issue_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/141","id":269402349,"user":{"login":"kdvolder","id":1002156,"avatar_url":"https://avatars.githubusercontent.com/u/1002156?v=3","gravatar_id":"","url":"https://api.github.com/users/kdvolder","html_url":"https://github.com/kdvolder","followers_url":"https://api.github.com/users/kdvolder/followers","following_url":"https://api.github.com/users/kdvolder/following{/other_user}","gists_url":"https://api.github.com/users/kdvolder/gists{/gist_id}","starred_url":"https://api.github.com/users/kdvolder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdvolder/subscriptions","organizations_url":"https://api.github.com/users/kdvolder/orgs","repos_url":"https://api.github.com/users/kdvolder/repos","events_url":"https://api.github.com/users/kdvolder/events{/privacy}","received_events_url":"https://api.github.com/users/kdvolder/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T00:23:20Z","updated_at":"2016-12-28T00:23:20Z","body":"> Streaming them from the server is not a very good idea,\r\n\r\nWhy not? Personally I very much like the idea of having a fully async and incremental mechanic for sending completions (for example). \r\n\r\nHaving this allows for deliver any results as soon it has them rather having to make an awkward decision around how much time is 'reasonable' to try and compute as many results as possible before returning an incomplete list. This often means you end up returning 0 completions even if the user was willing to wait a bit (or just stopped typing for a moment to reflect)."}}
{"actor":{"display_login":"kdvolder"}}