I'm trying to make a massive delete, in order to do that I have an Array<number>
of the ids I want to delete. I can't pass this array as a parameter to the method this._httpService.delete(uri,options)
. The type of _httpService
is Http
.
So I'm looping the array and inside the loop I'm making single calls, but each call is async and I have certain logic to run when the loop ends.