{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/node-host/issues/15","repository_url":"https://api.github.com/repos/neovim/node-host","labels_url":"https://api.github.com/repos/neovim/node-host/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/neovim/node-host/issues/15/comments","events_url":"https://api.github.com/repos/neovim/node-host/issues/15/events","html_url":"https://github.com/neovim/node-host/issues/15","id":169759939,"number":15,"title":"Promise API","user":{"login":"billyvg","id":79684,"avatar_url":"https://avatars.githubusercontent.com/u/79684?v=3","gravatar_id":"","url":"https://api.github.com/users/billyvg","html_url":"https://github.com/billyvg","followers_url":"https://api.github.com/users/billyvg/followers","following_url":"https://api.github.com/users/billyvg/following{/other_user}","gists_url":"https://api.github.com/users/billyvg/gists{/gist_id}","starred_url":"https://api.github.com/users/billyvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyvg/subscriptions","organizations_url":"https://api.github.com/users/billyvg/orgs","repos_url":"https://api.github.com/users/billyvg/repos","events_url":"https://api.github.com/users/billyvg/events{/privacy}","received_events_url":"https://api.github.com/users/billyvg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-06T18:36:05Z","updated_at":"2016-08-07T17:45:01Z","closed_at":null,"body":"Any plans to promisify the neovim client API?\r\n\r\nWould you rather see it done in this package, `node-client`, or a forked package?\r\n\r\n\r\nRelated issues:\r\n\r\nhttps://github.com/neovim/node-client/issues/11\r\nhttps://github.com/neovim/node-client/pull/7"},"comment":{"url":"https://api.github.com/repos/neovim/node-host/issues/comments/238096773","html_url":"https://github.com/neovim/node-host/issues/15#issuecomment-238096773","issue_url":"https://api.github.com/repos/neovim/node-host/issues/15","id":238096773,"user":{"login":"rhysd","id":823277,"avatar_url":"https://avatars.githubusercontent.com/u/823277?v=3","gravatar_id":"","url":"https://api.github.com/users/rhysd","html_url":"https://github.com/rhysd","followers_url":"https://api.github.com/users/rhysd/followers","following_url":"https://api.github.com/users/rhysd/following{/other_user}","gists_url":"https://api.github.com/users/rhysd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhysd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhysd/subscriptions","organizations_url":"https://api.github.com/users/rhysd/orgs","repos_url":"https://api.github.com/users/rhysd/repos","events_url":"https://api.github.com/users/rhysd/events{/privacy}","received_events_url":"https://api.github.com/users/rhysd/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T17:45:01Z","updated_at":"2016-08-07T17:45:01Z","body":"@tarruda @justinmk @billyvg \r\n\r\nI noticed that existence of callback is used to determine to request or notify the API.\r\n\r\nhttps://github.com/neovim/node-client/blob/master/index.js#L54\r\n\r\nIf we decided to return Promise value when callback not specified,  we always need to use request because API function can't know the returned Promise value is actually used or not.  What do you think?"}}
{"actor":{"display_login":"rhysd"}}