1
I learned that I have to use these two functions when I’m working with HTTP requests, I learned that I have to use these two functions as a cake recipe, which you use and that’s it, I wanted to know why to use it.
Example of a use of the two functions:
    public pesquisaOferta(termo: string): Observable<Oferta[]> {
    return this.http.get(URL_API + "?descricao_oferta_like=" + termo)
    .pipe(
        retry(10),
        map((response: any) => {
            return response
        })
    )
}
If I’m not mistaken, I’ve seen the use of the two functions in another way, but I’m in line with why to use them.
He simply specified the two functions. Thank you
– Gaspar
In the context of the example I gave above, the
pipe()takes the information fromget()and makes available to themap()?– Erick Luz
@Exact Erickluz.
– Felipe Augusto