{"action":"created","issue":{"url":"https://api.github.com/repos/salsita/redux-elm/issues/43","repository_url":"https://api.github.com/repos/salsita/redux-elm","labels_url":"https://api.github.com/repos/salsita/redux-elm/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/salsita/redux-elm/issues/43/comments","events_url":"https://api.github.com/repos/salsita/redux-elm/issues/43/events","html_url":"https://github.com/salsita/redux-elm/issues/43","id":169398765,"number":43,"title":"[docs] Explain multiple sagas with takeEvery ","user":{"login":"jmatsushita","id":356097,"avatar_url":"https://avatars.githubusercontent.com/u/356097?v=3","gravatar_id":"","url":"https://api.github.com/users/jmatsushita","html_url":"https://github.com/jmatsushita","followers_url":"https://api.github.com/users/jmatsushita/followers","following_url":"https://api.github.com/users/jmatsushita/following{/other_user}","gists_url":"https://api.github.com/users/jmatsushita/gists{/gist_id}","starred_url":"https://api.github.com/users/jmatsushita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmatsushita/subscriptions","organizations_url":"https://api.github.com/users/jmatsushita/orgs","repos_url":"https://api.github.com/users/jmatsushita/repos","events_url":"https://api.github.com/users/jmatsushita/events{/privacy}","received_events_url":"https://api.github.com/users/jmatsushita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-04T15:11:01Z","updated_at":"2016-10-25T10:23:52Z","closed_at":"2016-10-25T10:23:52Z","body":"Hi there,\r\n\r\nWhat's the `redux-elm` idiomatic way to route events to different sagas?\r\n\r\nRight now I do this:\r\n```\r\nfunction* saga() {\r\n  yield* takeEvery(['SOMETHING', 'OTHERTHING'], doTHINGS);\r\n}\r\n```\r\n\r\nWhere doTHINGS branches to `doSOMETHING` and `doOTHERTHING` but I'd like to write something like what case is doing such as:\r\n```\r\nfunction* saga() {\r\n  yield* takeEveryCase()\r\n    .case('SOMETHING', doSOMETHING)\r\n    .case('OTHERTHING', doOTHERTHING)\r\n}\r\n```\r\n\r\nOr a variation on this.\r\n\r\nAm I missing something obvious?\r\n"},"comment":{"url":"https://api.github.com/repos/salsita/redux-elm/issues/comments/255997051","html_url":"https://github.com/salsita/redux-elm/issues/43#issuecomment-255997051","issue_url":"https://api.github.com/repos/salsita/redux-elm/issues/43","id":255997051,"user":{"login":"tomkis1","id":5079224,"avatar_url":"https://avatars.githubusercontent.com/u/5079224?v=3","gravatar_id":"","url":"https://api.github.com/users/tomkis1","html_url":"https://github.com/tomkis1","followers_url":"https://api.github.com/users/tomkis1/followers","following_url":"https://api.github.com/users/tomkis1/following{/other_user}","gists_url":"https://api.github.com/users/tomkis1/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkis1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkis1/subscriptions","organizations_url":"https://api.github.com/users/tomkis1/orgs","repos_url":"https://api.github.com/users/tomkis1/repos","events_url":"https://api.github.com/users/tomkis1/events{/privacy}","received_events_url":"https://api.github.com/users/tomkis1/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T10:23:52Z","updated_at":"2016-10-25T10:23:52Z","body":"Closing, nothing actionable here."}}
{"actor":{"display_login":"tomkis1"}}