{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/3187","repository_url":"https://api.github.com/repos/hapijs/hapi","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/3187/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/3187/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/3187/events","html_url":"https://github.com/hapijs/hapi/pull/3187","id":158544299,"number":3187,"title":"Add a new 'started' event, emitted when start callbacks are complete","user":{"login":"rob-h-w","id":1832910,"avatar_url":"https://avatars.githubusercontent.com/u/1832910?v=3","gravatar_id":"","url":"https://api.github.com/users/rob-h-w","html_url":"https://github.com/rob-h-w","followers_url":"https://api.github.com/users/rob-h-w/followers","following_url":"https://api.github.com/users/rob-h-w/following{/other_user}","gists_url":"https://api.github.com/users/rob-h-w/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-h-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-h-w/subscriptions","organizations_url":"https://api.github.com/users/rob-h-w/orgs","repos_url":"https://api.github.com/users/rob-h-w/repos","events_url":"https://api.github.com/users/rob-h-w/events{/privacy}","received_events_url":"https://api.github.com/users/rob-h-w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-05T08:34:45Z","updated_at":"2016-06-05T10:59:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hapijs/hapi/pulls/3187","html_url":"https://github.com/hapijs/hapi/pull/3187","diff_url":"https://github.com/hapijs/hapi/pull/3187.diff","patch_url":"https://github.com/hapijs/hapi/pull/3187.patch"},"body":"Rename test variables started -> start to denote the semantic difference\r\nbetween the 2 events.\r\n\r\nUpdate the documentation.\r\n\r\nThis new event is useful to allow users to determine if the server\r\n(including any bespoke initialisation in start's callback) is started.\r\n\r\nThis change was prompted by the repeated need to implement the following:\r\n\r\n```\r\nserver.start(err => {\r\n  // init that could fail.\r\n\r\n  server.emit('started');\r\n});\r\n\r\nserver.on('started', () => {\r\n  log('server startup complete');\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/223806709","html_url":"https://github.com/hapijs/hapi/pull/3187#issuecomment-223806709","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/3187","id":223806709,"user":{"login":"mtharrison","id":916064,"avatar_url":"https://avatars.githubusercontent.com/u/916064?v=3","gravatar_id":"","url":"https://api.github.com/users/mtharrison","html_url":"https://github.com/mtharrison","followers_url":"https://api.github.com/users/mtharrison/followers","following_url":"https://api.github.com/users/mtharrison/following{/other_user}","gists_url":"https://api.github.com/users/mtharrison/gists{/gist_id}","starred_url":"https://api.github.com/users/mtharrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtharrison/subscriptions","organizations_url":"https://api.github.com/users/mtharrison/orgs","repos_url":"https://api.github.com/users/mtharrison/repos","events_url":"https://api.github.com/users/mtharrison/events{/privacy}","received_events_url":"https://api.github.com/users/mtharrison/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T10:59:37Z","updated_at":"2016-06-05T10:59:37Z","body":"Is this not already covered with a server `onPostStart` extension?\r\n\r\nhttp://hapijs.com/api#serverextevents"}}
{"actor":{"display_login":"mtharrison"}}