RxJS error in inner stream kill the source

前端 未结 0 803
青春惊慌失措
青春惊慌失措 2021-01-17 14:29

I have the following stream:

const source = fromEvent(document.querySelector(\'h1\'), \'click\').pipe(
  switchMap(() => {
    return timer(500).pipe(
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题