this.subscribe('a',() => {this.allA = A.find();});
this.subscribe('b',() => {this.allB= B.find();});
和可变这就是说,
let x = *take the first A, do some calculation to get the B linked, return B*
如果这样的逻辑被治请确保仅在订阅“a”和“b”得到解决时才处理此问题。
可能会使用区域,但我不是100%什么可能是最好的方式来做@Component。
PS:避免做-A-服务器端法:d
问候
铁:路由器的waitOn提供这样的逻辑来等待多个订阅,我不使用铁路由器。 – ATX