{"action":"closed","issue":{"url":"https://api.github.com/repos/perwendel/spark/issues/226","labels_url":"https://api.github.com/repos/perwendel/spark/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/perwendel/spark/issues/226/comments","events_url":"https://api.github.com/repos/perwendel/spark/issues/226/events","html_url":"https://github.com/perwendel/spark/issues/226","id":52828281,"number":226,"title":"How to check that spark has started without polling?","user":{"login":"tchoulihan","id":930215,"avatar_url":"https://avatars.githubusercontent.com/u/930215?v=3","gravatar_id":"","url":"https://api.github.com/users/tchoulihan","html_url":"https://github.com/tchoulihan","followers_url":"https://api.github.com/users/tchoulihan/followers","following_url":"https://api.github.com/users/tchoulihan/following{/other_user}","gists_url":"https://api.github.com/users/tchoulihan/gists{/gist_id}","starred_url":"https://api.github.com/users/tchoulihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchoulihan/subscriptions","organizations_url":"https://api.github.com/users/tchoulihan/orgs","repos_url":"https://api.github.com/users/tchoulihan/repos","events_url":"https://api.github.com/users/tchoulihan/events{/privacy}","received_events_url":"https://api.github.com/users/tchoulihan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-12-24T17:03:03Z","updated_at":"2015-05-12T16:48:47Z","closed_at":"2015-05-12T16:48:47Z","body":"I have a program that needs to load spark a 'get' resource, but only after spark has started\r\n\r\nso my current main is:\r\n````{\r\nspark.start();\r\nloadSparkURL();\r\n}````\r\n\r\nYet oftentimes, since I suppose spark uses an asynchronous start, the URL needs to be refreshed. Is there any way to check without polling that URL every so often? \r\n\r\n"}}