我需要创建一个事件流,其中包含我的应用程序的所有事件,我需要该流是可重放的,并且能够(如果需要)将旧事件广播到后来初始化的服务。因此,我尝试使用ReplaySubject,但不知道操作符,以避免在必要时重播:import {combineLatestbus$.subscribe(doSomething)
// Or I just w
我为每个对象创建了一个带有元数据的对象,然后这些元数据都存储在一个数组中-在我的例子中是this.recentChats。of ALL conversation data when one of the conversations changes
switchMap(recentConversations => combineLatestreturn this.createConversationObject('username', ..