call
Call a method.
store.when('module/action').call(() => {});
The method will receive the same arguments that a normal mutation/action would. For example:
store.when('dispatch', 'myAction').call(function({commit, state}, payload){
...
});
store.when('commit', 'MY_MUTATION').call(function(state, payload){
...
});