📌  相关文章
📜  订阅'已弃用 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:24.385000             🧑  作者: Mango

代码示例1
/*subscribe isn't deprecated but 
in the future, subscribe will only take one argument: 
either the next handler (a function) or an observer object.*/


.subscribe({
   next: this.handleUpdateResponse.bind(this),
   error: this.handleError.bind(this)
});