title: nativescript wait for request until vuex complete request
body: <p>I have page Login.vue and I am using a strategy if the user already logged in then go to Home Component else stay same</p>
  
  <p>My Code</p>
  
  <pre><code>mounted() {
    this.checkAlreadyLoggedIn();
  },
  methods: { 
   async checkAlreadyLoggedIn() {
     this.busy = true;
     await this.$store.dispatch("attempt");
     this.busy = false;
     if (this.$store.getters.loggedIn) {
       this.$navigateTo(Home, {
        clearHistory: true
       });
     }
   },
  }
  </code></pre>
  
  <p>attempt action request to server and get users detail
  but it seems it triggers <code>this.$store.getters.loggedIn</code> early</p>
  
  <p>Thank you </p>