Rather await you can subscribe () and inside subscribe add your code.
this.configurationService.deleteTrf(this.trfCode).subscribe ( e =>{
this.afterStatusChange();
} )
So this subscribe code block runs only after delete request completed. Kind of await for you. For further discussion you can connect with me by email grdtechlab@gmail.com thanks!
Rather await you can subscribe () and inside subscribe add your code.
this.configurationService.deleteTrf(this.trfCode).subscribe ( e =>{
this.afterStatusChange();
} )
So this subscribe code block runs only after delete request completed. Kind of await for you. For further discussion you can connect with me by email
grdtechlab@gmail.com
thanks!Thanks..