{"action":"opened","issue":{"url":"https://api.github.com/repos/yelouafi/redux-saga/issues/620","repository_url":"https://api.github.com/repos/yelouafi/redux-saga","labels_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/620/comments","events_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/620/events","html_url":"https://github.com/yelouafi/redux-saga/issues/620","id":188001581,"number":620,"title":"throttle and eventChannel","user":{"login":"rosendi","id":803388,"avatar_url":"https://avatars.githubusercontent.com/u/803388?v=3","gravatar_id":"","url":"https://api.github.com/users/rosendi","html_url":"https://github.com/rosendi","followers_url":"https://api.github.com/users/rosendi/followers","following_url":"https://api.github.com/users/rosendi/following{/other_user}","gists_url":"https://api.github.com/users/rosendi/gists{/gist_id}","starred_url":"https://api.github.com/users/rosendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosendi/subscriptions","organizations_url":"https://api.github.com/users/rosendi/orgs","repos_url":"https://api.github.com/users/rosendi/repos","events_url":"https://api.github.com/users/rosendi/events{/privacy}","received_events_url":"https://api.github.com/users/rosendi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T14:12:13Z","updated_at":"2016-11-08T14:12:13Z","closed_at":null,"body":"Is it possible to throttle `eventChannel`?\r\n\r\n```\r\nexport const onEvent = (source, eventName) => eventChannel(emitter => {\r\n  source.addEventListener(eventName, emitter);\r\n\r\n  return () => {\r\n    document.removeEventListener(eventName, emitter);\r\n  };\r\n});\r\n\r\nfunction* saga() {\r\n  const userEvent = yield call(onEvent, document, 'click');  \r\n\r\n  yield throttle(1000, userEvent, function* () {\r\n    ...\r\n  })   \r\n}\r\n```"}}
{"actor":{"display_login":"rosendi"}}