{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/1424","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/1424/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/1424/events","html_url":"https://github.com/gulpjs/gulp/pull/1424","id":119946974,"number":1424,"title":"Surface 'on' listener functionality","user":{"login":"AndrewSouthpaw","id":5187404,"avatar_url":"https://avatars.githubusercontent.com/u/5187404?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewSouthpaw","html_url":"https://github.com/AndrewSouthpaw","followers_url":"https://api.github.com/users/AndrewSouthpaw/followers","following_url":"https://api.github.com/users/AndrewSouthpaw/following{/other_user}","gists_url":"https://api.github.com/users/AndrewSouthpaw/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewSouthpaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewSouthpaw/subscriptions","organizations_url":"https://api.github.com/users/AndrewSouthpaw/orgs","repos_url":"https://api.github.com/users/AndrewSouthpaw/repos","events_url":"https://api.github.com/users/AndrewSouthpaw/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewSouthpaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T13:59:47Z","updated_at":"2015-12-22T22:16:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gulpjs/gulp/pulls/1424","html_url":"https://github.com/gulpjs/gulp/pull/1424","diff_url":"https://github.com/gulpjs/gulp/pull/1424.diff","patch_url":"https://github.com/gulpjs/gulp/pull/1424.patch"},"body":"It is not apparent from the docs that src can be listened for when it finishes, which is immensely useful if performing a pipe after an asynchronous result. I've added an example to the documentation to surface this functionality, since I lost several hours puzzling over how to accomplish this task."},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/166746687","html_url":"https://github.com/gulpjs/gulp/pull/1424#issuecomment-166746687","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/1424","id":166746687,"user":{"login":"contra","id":425716,"avatar_url":"https://avatars.githubusercontent.com/u/425716?v=3","gravatar_id":"","url":"https://api.github.com/users/contra","html_url":"https://github.com/contra","followers_url":"https://api.github.com/users/contra/followers","following_url":"https://api.github.com/users/contra/following{/other_user}","gists_url":"https://api.github.com/users/contra/gists{/gist_id}","starred_url":"https://api.github.com/users/contra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contra/subscriptions","organizations_url":"https://api.github.com/users/contra/orgs","repos_url":"https://api.github.com/users/contra/repos","events_url":"https://api.github.com/users/contra/events{/privacy}","received_events_url":"https://api.github.com/users/contra/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T22:16:00Z","updated_at":"2015-12-22T22:16:00Z","body":"I think this is fair to add to our documentation, we could argue everything is obvious but the whole point is to help the user write better gulpfiles"}}