Posts by Britivaldo Leopoldo • 41 points
2 posts
-
2
votes1
answer154
viewsA: For do not wait to finish requisition, it continues counting
I managed to solve, for that I used Async/await. async update(cadastro, id){ await this.servidorProvider.update(cadastro) .then((result)=>{ this.contribuinteProvider.remove(id); }); } async…
-
2
votes1
answer154
viewsQ: For do not wait to finish requisition, it continues counting
I am developing an application in Ionic and I have a problem when I do a loop loop. In this loop there is a call from a method of a previous, that makes a request put. My problem is that the for…