esperar Vuex Dispatch verdadero

mounted() {
    this.loading = true;

    this.$store.dispatch('module/function', 'value').then((response) => {
        this.loading = false;
    });
},
RedBredren