Store.dispatch problem of Vuex

does this passage in the Vuex document not quite understand?

A store.dispatch can trigger multiple action functions in different modules. In this case, the returned Promise executes only after all triggering functions are completed. Original ide/actions.html" rel=" nofollow noreferrer "> https://vuex.vuejs.org/zh/gui.

my question is, isn"t store.dispatch stateless? How does the store.dispatch that triggers the action function in multiple places know it"s all the same? Do any bosses have sample code for this paragraph or straighten out the vernacular? The official website did not give an example, I did not get to that business scene, thank you all

Jul.30,2021

is identified by a string (action name). For the reason of ide/modules.html-sharp%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4" rel=" nofollow noreferrer ">, see here. This scenario is just like DOM snooping events. The producer is only responsible for publishing the status, and the modules that need it subscribe to the listener on their own.

Menu