race

PHOTO EMBED

Wed Feb 01 2023 15:08:26 GMT+0000 (Coordinated Universal Time)

Saved by @ilivanilton #angular #rxjs-pattern

request = this.http.get('/users').pipe(
  tap(()=> setContent('Resposta da API'))
)
stopRequest = btnStopRequest$.pipe(
  tap(()=> setContent('Requisicao cancelada'))
)

btnRequest

content_copyCOPY

https://youtu.be/VhEfoK5ypg4?t=952