{"action":"opened","issue":{"url":"https://api.github.com/repos/Day8/re-frame-async-flow-fx/issues/1","repository_url":"https://api.github.com/repos/Day8/re-frame-async-flow-fx","labels_url":"https://api.github.com/repos/Day8/re-frame-async-flow-fx/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Day8/re-frame-async-flow-fx/issues/1/comments","events_url":"https://api.github.com/repos/Day8/re-frame-async-flow-fx/issues/1/events","html_url":"https://github.com/Day8/re-frame-async-flow-fx/issues/1","id":169010755,"number":1,"title":"When :seen? dispatch not firing","user":{"login":"colindresj","id":4250234,"avatar_url":"https://avatars.githubusercontent.com/u/4250234?v=3","gravatar_id":"","url":"https://api.github.com/users/colindresj","html_url":"https://github.com/colindresj","followers_url":"https://api.github.com/users/colindresj/followers","following_url":"https://api.github.com/users/colindresj/following{/other_user}","gists_url":"https://api.github.com/users/colindresj/gists{/gist_id}","starred_url":"https://api.github.com/users/colindresj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colindresj/subscriptions","organizations_url":"https://api.github.com/users/colindresj/orgs","repos_url":"https://api.github.com/users/colindresj/repos","events_url":"https://api.github.com/users/colindresj/events{/privacy}","received_events_url":"https://api.github.com/users/colindresj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-02T23:12:55Z","updated_at":"2016-08-02T23:12:55Z","closed_at":null,"body":"Giving the async flow a try out for app boot, but hoping to use the pattern more generally in the future. Right now I've got the following:\r\n\r\n```clj\r\n(reg-event-fx\r\n  :init-app\r\n  (fn [_ _]\r\n    {:db {}\r\n     :async-flow\r\n     {:id :flow/init-app\r\n      :first-dispatch [:do-token-get]\r\n      :rules [\r\n        {:when :seen? :events :success-token-get :dispatch [:do-user-get]}\r\n        {:when :seen? :events :success-user-get :dispatch [:success-boot] :halt? true}\r\n        {:when :seen? :events :fail-user-get :dispatch [:fail-boot] :halt? true}]}}))\r\n```\r\n\r\nThe `:do-token-get` event is firing off fine, as well as the the `:success-token-get`. However, `:do-user-get` never happens, which, of course, causes the rest of the flow to not occur.\r\n\r\nAm I missing something here?"}}
{"actor":{"display_login":"colindresj"}}