{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleWebComponents/google-apis/issues/55","labels_url":"https://api.github.com/repos/GoogleWebComponents/google-apis/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/GoogleWebComponents/google-apis/issues/55/comments","events_url":"https://api.github.com/repos/GoogleWebComponents/google-apis/issues/55/events","html_url":"https://github.com/GoogleWebComponents/google-apis/issues/55","id":103177812,"number":55,"title":"[Feature request] Boolean to state if google-client-loader has finished loading","user":{"login":"newfivefour","id":7628223,"avatar_url":"https://avatars.githubusercontent.com/u/7628223?v=3","gravatar_id":"","url":"https://api.github.com/users/newfivefour","html_url":"https://github.com/newfivefour","followers_url":"https://api.github.com/users/newfivefour/followers","following_url":"https://api.github.com/users/newfivefour/following{/other_user}","gists_url":"https://api.github.com/users/newfivefour/gists{/gist_id}","starred_url":"https://api.github.com/users/newfivefour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newfivefour/subscriptions","organizations_url":"https://api.github.com/users/newfivefour/orgs","repos_url":"https://api.github.com/users/newfivefour/repos","events_url":"https://api.github.com/users/newfivefour/events{/privacy}","received_events_url":"https://api.github.com/users/newfivefour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T05:35:13Z","updated_at":"2015-08-26T05:35:13Z","closed_at":null,"body":"It currently fires an event.\r\n\r\nBut there's a case where you may miss the event, but want to check if the client-loader has finished loading its API.\r\n\r\nCould we add a **public** boolean property to state it's been loaded?\r\n\r\nCurrently it's private:\r\n\r\n    // Stores whether the API client is done loading.\r\n    var _clientLoaded = false;\r\n\r\n(My albeit sketchy understanding of javascript promises could help here. Yet there's no promises support in the library, from what I can tell, and putting the onus on the user to wrap something in a promise may be a little burdensome?)"}}