{"action":"created","issue":{"url":"https://api.github.com/repos/bee-queue/bee-queue/issues/107","repository_url":"https://api.github.com/repos/bee-queue/bee-queue","labels_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/107/comments","events_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/107/events","html_url":"https://github.com/bee-queue/bee-queue/issues/107","id":309315015,"number":107,"title":"Custom progress events","user":{"login":"stilliard","id":77454,"avatar_url":"https://avatars2.githubusercontent.com/u/77454?v=4","gravatar_id":"","url":"https://api.github.com/users/stilliard","html_url":"https://github.com/stilliard","followers_url":"https://api.github.com/users/stilliard/followers","following_url":"https://api.github.com/users/stilliard/following{/other_user}","gists_url":"https://api.github.com/users/stilliard/gists{/gist_id}","starred_url":"https://api.github.com/users/stilliard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stilliard/subscriptions","organizations_url":"https://api.github.com/users/stilliard/orgs","repos_url":"https://api.github.com/users/stilliard/repos","events_url":"https://api.github.com/users/stilliard/events{/privacy}","received_events_url":"https://api.github.com/users/stilliard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T10:47:53Z","updated_at":"2018-03-29T08:00:27Z","closed_at":"2018-03-29T08:00:27Z","author_association":"NONE","body":"Hey, Is there a way to add custom progress pub/sub style events currently? \r\ne.g. during processing the queue jobs i have a few different types of events to let any subscribers hook into. \r\nI could implement that with node-redis-pubsub or similar though if not. \r\n\r\nAlternatively, I could look into adding such functionality in? \r\nMaybe a job could send these with `job.publish('event-name', { data })` and listeners could use the existing `job.on('event-name', console.log)`. \r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/bee-queue/bee-queue/issues/comments/377155457","html_url":"https://github.com/bee-queue/bee-queue/issues/107#issuecomment-377155457","issue_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/107","id":377155457,"user":{"login":"stilliard","id":77454,"avatar_url":"https://avatars2.githubusercontent.com/u/77454?v=4","gravatar_id":"","url":"https://api.github.com/users/stilliard","html_url":"https://github.com/stilliard","followers_url":"https://api.github.com/users/stilliard/followers","following_url":"https://api.github.com/users/stilliard/following{/other_user}","gists_url":"https://api.github.com/users/stilliard/gists{/gist_id}","starred_url":"https://api.github.com/users/stilliard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stilliard/subscriptions","organizations_url":"https://api.github.com/users/stilliard/orgs","repos_url":"https://api.github.com/users/stilliard/repos","events_url":"https://api.github.com/users/stilliard/events{/privacy}","received_events_url":"https://api.github.com/users/stilliard/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T08:00:27Z","updated_at":"2018-03-29T08:00:27Z","author_association":"NONE","body":"Closing in favour of adding custom data to progress events. \r\n\r\nThough in case anyone else needs custom event pubsub functionality, there's a [fork](https://github.com/stilliard/bee-queue/tree/custom-job-events) for that available that can be installed with:\r\n\"bee-queue\": \"stilliard/bee-queue#custom-job-events\""}}
{"actor":{"display_login":"stilliard"}}