I display the list of products in the template. Each product is sent separately in the request to the server for displaying information. But the parseValue method does not output anything from me. Tried to output asynchronously via {{parseValue(item) | async}} {{parseValue(item) | async}} - displays an error. How to output data from parseValue ()?
<div*ngFor="let item of cars"> <span>{{item}}{{parseValue(item)}}</span> </div> parseValue(item) { this.getData.get(item) .subscribe((resp) => { // обработка resp; return resp }) If I return the results of the query to the server, I get [object Object]
parseValue(item) { return this.getData.get(item) .subscribe((resp) => { // обработка resp; return resp })