【发布时间】:2020-12-06 22:29:57
【问题描述】:
我想执行一些顺序代码,但我无法从 combineLatest 中提取数据
const { datosPersona, participante } = await combineLatest(
this.store.select('datosPersona'),
this.store.select('participante')
).pipe(
map((data) => ({ datosPersona: data[0], participante: data[1] }),
).toPromise();
【问题讨论】:
标签: angular promise async-await rxjs