0👍
✅
No, you can’t watch a function.
If your goal is to run getProps
again when saveGrant
finishes, you can use await
for that:
async saveGrant() {
// sends the fields of b-modal as post
const result = await myRequestCall();
// now myRequestCall is done
this.getProps();
}
Source:stackexchange.com