Is there a way to verify that all results have been successfully pushed to nodesToExpand after running the for loop?
The getFilterResult function is being called via an HTTP request in the nodeService service.
for(var step in paths)
{
this.nodeService.getFilterResult(paths[step]).subscribe(
(node) =>
{
nodesToExpand.push(node);
}
);
}