vuejs / vuex-observable

Consume Vuex actions as Observables using RxJS 5
MIT License
155 stars 18 forks source link

Getting action$ from the outside #3

Open yi-bai opened 7 years ago

yi-bai commented 7 years ago

Currently, the only way to get an action$ is to call the action, and it would call next() to the input$. If I want to subscribe to the action$ itself, is there any better approach to get action$?

adamgedney commented 6 years ago

@yi-bai , Why would you want to subscribe to the action directly? I think the whole purpose of the action subscription is to commit an update to the store, no? Correct me if I'm wrong.