{"action":"created","comment":{"url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/comments/87235291","pull_request_review_id":7855297,"id":87235291,"diff_hunk":"@@ -37,20 +37,24 @@ export default function sagaMiddlewareFactory(options = {}) {\n   function sagaMiddleware({getState, dispatch}) {\n     runSagaDynamically = runSaga\n     const sagaEmitter = emitter()\n+    const sagaDispatch = !sagaMonitor ? dispatch : wrapSagaDispatch(dispatch)","path":"src/internal/middleware.js","position":18,"original_position":18,"commit_id":"ccea0a9750ec44dc9a1dd0f4b438d7d743812e9e","original_commit_id":"ccea0a9750ec44dc9a1dd0f4b438d7d743812e9e","user":{"login":"Andarist","id":9800850,"avatar_url":"https://avatars.githubusercontent.com/u/9800850?v=3","gravatar_id":"","url":"https://api.github.com/users/Andarist","html_url":"https://github.com/Andarist","followers_url":"https://api.github.com/users/Andarist/followers","following_url":"https://api.github.com/users/Andarist/following{/other_user}","gists_url":"https://api.github.com/users/Andarist/gists{/gist_id}","starred_url":"https://api.github.com/users/Andarist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andarist/subscriptions","organizations_url":"https://api.github.com/users/Andarist/orgs","repos_url":"https://api.github.com/users/Andarist/repos","events_url":"https://api.github.com/users/Andarist/events{/privacy}","received_events_url":"https://api.github.com/users/Andarist/received_events","type":"User","site_admin":false},"body":"wondering if distinguishing permanently regular `dispatch`es and `put`s could be leveraged to handle `asap` queue better in order to fix cases like - https://github.com/yelouafi/redux-saga/issues/598","created_at":"2016-11-09T17:09:20Z","updated_at":"2016-11-09T17:09:20Z","html_url":"https://github.com/yelouafi/redux-saga/pull/609#discussion_r87235291","pull_request_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609","_links":{"self":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/comments/87235291"},"html":{"href":"https://github.com/yelouafi/redux-saga/pull/609#discussion_r87235291"},"pull_request":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609"}}},"pull_request":{"url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609","id":91602641,"html_url":"https://github.com/yelouafi/redux-saga/pull/609","diff_url":"https://github.com/yelouafi/redux-saga/pull/609.diff","patch_url":"https://github.com/yelouafi/redux-saga/pull/609.patch","issue_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/609","number":609,"state":"open","locked":false,"title":"Improve monitor api","user":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"body":"I recently started working on a GUI version of the monitor. So far the change I see are required are\r\n\r\n- notifies the monitor when root sagas are started by `sagaMiddleware.run` or `runSaga`.   \r\n\r\n- added `actionDispatched` trigger to the monitor contract. We need this in order to figure out saga/take effects that reacted to a given action. Also added a silent flag `SAGA_ACTION` (non enum. prop) added to distinguish actions dispatched by sagas from others.\r\n\r\nI'ld like to get some feedback before merging. I'll publish the UI version as soon as I get something usable\r\n\r\n- [x] add changes to monitor API\r\n- [x] update tests\r\n- [x] update docs","created_at":"2016-10-31T12:42:25Z","updated_at":"2016-11-09T17:09:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e572cb561063903975e4d7ee83c5adee7a6c336","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609/commits","review_comments_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609/comments","review_comment_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/609/comments","statuses_url":"https://api.github.com/repos/yelouafi/redux-saga/statuses/ccea0a9750ec44dc9a1dd0f4b438d7d743812e9e","head":{"label":"yelouafi:improve-monitor-api","ref":"improve-monitor-api","sha":"ccea0a9750ec44dc9a1dd0f4b438d7d743812e9e","user":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"repo":{"id":47071941,"name":"redux-saga","full_name":"yelouafi/redux-saga","owner":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yelouafi/redux-saga","description":"An alternative side effect model for Redux apps","fork":false,"url":"https://api.github.com/repos/yelouafi/redux-saga","forks_url":"https://api.github.com/repos/yelouafi/redux-saga/forks","keys_url":"https://api.github.com/repos/yelouafi/redux-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yelouafi/redux-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yelouafi/redux-saga/teams","hooks_url":"https://api.github.com/repos/yelouafi/redux-saga/hooks","issue_events_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/events{/number}","events_url":"https://api.github.com/repos/yelouafi/redux-saga/events","assignees_url":"https://api.github.com/repos/yelouafi/redux-saga/assignees{/user}","branches_url":"https://api.github.com/repos/yelouafi/redux-saga/branches{/branch}","tags_url":"https://api.github.com/repos/yelouafi/redux-saga/tags","blobs_url":"https://api.github.com/repos/yelouafi/redux-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yelouafi/redux-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yelouafi/redux-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/yelouafi/redux-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yelouafi/redux-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/yelouafi/redux-saga/languages","stargazers_url":"https://api.github.com/repos/yelouafi/redux-saga/stargazers","contributors_url":"https://api.github.com/repos/yelouafi/redux-saga/contributors","subscribers_url":"https://api.github.com/repos/yelouafi/redux-saga/subscribers","subscription_url":"https://api.github.com/repos/yelouafi/redux-saga/subscription","commits_url":"https://api.github.com/repos/yelouafi/redux-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/yelouafi/redux-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/yelouafi/redux-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/yelouafi/redux-saga/contents/{+path}","compare_url":"https://api.github.com/repos/yelouafi/redux-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yelouafi/redux-saga/merges","archive_url":"https://api.github.com/repos/yelouafi/redux-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yelouafi/redux-saga/downloads","issues_url":"https://api.github.com/repos/yelouafi/redux-saga/issues{/number}","pulls_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/yelouafi/redux-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/yelouafi/redux-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yelouafi/redux-saga/labels{/name}","releases_url":"https://api.github.com/repos/yelouafi/redux-saga/releases{/id}","deployments_url":"https://api.github.com/repos/yelouafi/redux-saga/deployments","created_at":"2015-11-29T16:58:12Z","updated_at":"2016-11-09T16:23:38Z","pushed_at":"2016-11-09T12:22:06Z","git_url":"git://github.com/yelouafi/redux-saga.git","ssh_url":"git@github.com:yelouafi/redux-saga.git","clone_url":"https://github.com/yelouafi/redux-saga.git","svn_url":"https://github.com/yelouafi/redux-saga","homepage":"http://yelouafi.github.io/redux-saga/","size":4449,"stargazers_count":4900,"watchers_count":4900,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":319,"mirror_url":null,"open_issues_count":36,"forks":319,"open_issues":36,"watchers":4900,"default_branch":"master"}},"base":{"label":"yelouafi:master","ref":"master","sha":"557d26a92570f50c6ca822f9e1870f0a2e321818","user":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"repo":{"id":47071941,"name":"redux-saga","full_name":"yelouafi/redux-saga","owner":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yelouafi/redux-saga","description":"An alternative side effect model for Redux apps","fork":false,"url":"https://api.github.com/repos/yelouafi/redux-saga","forks_url":"https://api.github.com/repos/yelouafi/redux-saga/forks","keys_url":"https://api.github.com/repos/yelouafi/redux-saga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yelouafi/redux-saga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yelouafi/redux-saga/teams","hooks_url":"https://api.github.com/repos/yelouafi/redux-saga/hooks","issue_events_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/events{/number}","events_url":"https://api.github.com/repos/yelouafi/redux-saga/events","assignees_url":"https://api.github.com/repos/yelouafi/redux-saga/assignees{/user}","branches_url":"https://api.github.com/repos/yelouafi/redux-saga/branches{/branch}","tags_url":"https://api.github.com/repos/yelouafi/redux-saga/tags","blobs_url":"https://api.github.com/repos/yelouafi/redux-saga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yelouafi/redux-saga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yelouafi/redux-saga/git/refs{/sha}","trees_url":"https://api.github.com/repos/yelouafi/redux-saga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yelouafi/redux-saga/statuses/{sha}","languages_url":"https://api.github.com/repos/yelouafi/redux-saga/languages","stargazers_url":"https://api.github.com/repos/yelouafi/redux-saga/stargazers","contributors_url":"https://api.github.com/repos/yelouafi/redux-saga/contributors","subscribers_url":"https://api.github.com/repos/yelouafi/redux-saga/subscribers","subscription_url":"https://api.github.com/repos/yelouafi/redux-saga/subscription","commits_url":"https://api.github.com/repos/yelouafi/redux-saga/commits{/sha}","git_commits_url":"https://api.github.com/repos/yelouafi/redux-saga/git/commits{/sha}","comments_url":"https://api.github.com/repos/yelouafi/redux-saga/comments{/number}","issue_comment_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/comments{/number}","contents_url":"https://api.github.com/repos/yelouafi/redux-saga/contents/{+path}","compare_url":"https://api.github.com/repos/yelouafi/redux-saga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yelouafi/redux-saga/merges","archive_url":"https://api.github.com/repos/yelouafi/redux-saga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yelouafi/redux-saga/downloads","issues_url":"https://api.github.com/repos/yelouafi/redux-saga/issues{/number}","pulls_url":"https://api.github.com/repos/yelouafi/redux-saga/pulls{/number}","milestones_url":"https://api.github.com/repos/yelouafi/redux-saga/milestones{/number}","notifications_url":"https://api.github.com/repos/yelouafi/redux-saga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yelouafi/redux-saga/labels{/name}","releases_url":"https://api.github.com/repos/yelouafi/redux-saga/releases{/id}","deployments_url":"https://api.github.com/repos/yelouafi/redux-saga/deployments","created_at":"2015-11-29T16:58:12Z","updated_at":"2016-11-09T16:23:38Z","pushed_at":"2016-11-09T12:22:06Z","git_url":"git://github.com/yelouafi/redux-saga.git","ssh_url":"git@github.com:yelouafi/redux-saga.git","clone_url":"https://github.com/yelouafi/redux-saga.git","svn_url":"https://github.com/yelouafi/redux-saga","homepage":"http://yelouafi.github.io/redux-saga/","size":4449,"stargazers_count":4900,"watchers_count":4900,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":319,"mirror_url":null,"open_issues_count":36,"forks":319,"open_issues":36,"watchers":4900,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609"},"html":{"href":"https://github.com/yelouafi/redux-saga/pull/609"},"issue":{"href":"https://api.github.com/repos/yelouafi/redux-saga/issues/609"},"comments":{"href":"https://api.github.com/repos/yelouafi/redux-saga/issues/609/comments"},"review_comments":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609/comments"},"review_comment":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yelouafi/redux-saga/pulls/609/commits"},"statuses":{"href":"https://api.github.com/repos/yelouafi/redux-saga/statuses/ccea0a9750ec44dc9a1dd0f4b438d7d743812e9e"}}}}
{"actor":{"display_login":"Andarist"}}