我有以下代码: dialog.afterClosed() filter((result) => result), console.log(result); // I need the result of both, not only the mergeMapresult
this.updateStateAfterUpload(result.file,
我在for循环中有两个异步调用的问题。场景是这样的:我有一个is数组,对于每个is,我都需要调用一个rest服务。有了这个服务的响应,我需要执行各种操作,然后调用第二个rest服务。我使用第二个服务的响应来做一些事情。最后,我只需要在处理完数组的所有元素时执行操作。).subscribe();编辑:let i = 0;
of(...this.idsA