{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/got/issues/525","repository_url":"https://api.github.com/repos/sindresorhus/got","labels_url":"https://api.github.com/repos/sindresorhus/got/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/got/issues/525/comments","events_url":"https://api.github.com/repos/sindresorhus/got/issues/525/events","html_url":"https://github.com/sindresorhus/got/pull/525","id":341985882,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxOTkzMDMx","number":525,"title":"Use events to wire upload tracking instead of racing with setImmediate","user":{"login":"jstewmon","id":909418,"node_id":"MDQ6VXNlcjkwOTQxOA==","avatar_url":"https://avatars1.githubusercontent.com/u/909418?v=4","gravatar_id":"","url":"https://api.github.com/users/jstewmon","html_url":"https://github.com/jstewmon","followers_url":"https://api.github.com/users/jstewmon/followers","following_url":"https://api.github.com/users/jstewmon/following{/other_user}","gists_url":"https://api.github.com/users/jstewmon/gists{/gist_id}","starred_url":"https://api.github.com/users/jstewmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstewmon/subscriptions","organizations_url":"https://api.github.com/users/jstewmon/orgs","repos_url":"https://api.github.com/users/jstewmon/repos","events_url":"https://api.github.com/users/jstewmon/events{/privacy}","received_events_url":"https://api.github.com/users/jstewmon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T16:06:14Z","updated_at":"2018-07-25T07:48:01Z","closed_at":"2018-07-25T07:48:01Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sindresorhus/got/pulls/525","html_url":"https://github.com/sindresorhus/got/pull/525","diff_url":"https://github.com/sindresorhus/got/pull/525.diff","patch_url":"https://github.com/sindresorhus/got/pull/525.patch"},"body":"I could not determine why `setImmediate` was being used to defer some of the statements in the event emitter wiring, other than the socket connection check, which can be safely done by subscribing to the right events."},"comment":{"url":"https://api.github.com/repos/sindresorhus/got/issues/comments/407665735","html_url":"https://github.com/sindresorhus/got/pull/525#issuecomment-407665735","issue_url":"https://api.github.com/repos/sindresorhus/got/issues/525","id":407665735,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY2NTczNQ==","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T07:48:01Z","updated_at":"2018-07-25T07:48:01Z","author_association":"OWNER","body":"Closing in favor of #534"}}
{"actor":{"display_login":"sindresorhus"}}