What does subscribe do, and how it is related to Observable?

前端 未结 2 1991
礼貌的吻别
礼貌的吻别 2021-01-07 17:37

I\'m new to Angular and the tutorial I followed has the term \"Observable\". The tutor explained it, but I didn\'t completely understand.

What is an

2条回答
  •  感情败类
    2021-01-07 17:58

    Observable is independant of Angular. It provide you a convenient way to handle async flow. And Angular use it.

    So what you need to learn is how the Reactive Programming work. It's too complex to explain it in one response but you've got a lot of content about rxjs.

    One of the first i read is this post The introduction to Reactive Programming you've been missing, i think it's a good introduction to Reactive Programming.

提交回复
热议问题