I base on Vue and NProgress to wait the Method Call.
// Check role
NProgress.start();
userIsInRole.callPromise({role}).then((result) => {
NProgress.done();
NProgress.remove();
...............
}).catch((err) => {
});
It work fine, but Not Smooth.
(show a little bit bar, and then waiting, final done is very quickly)
Please help me.