如果我们想看到最近几次的值,就可以使用ReplaySubject,例如我们想缓存最近的两次值: const subject = new Rx.ReplaySubject(2); const observerA = { next: x ...
確定! 回上一頁