observable to array

lee jae hwan·2022년 9월 18일
0

RxJS

목록 보기
19/21
   strings$: Observable<string[]> = of(["test", "test2", "test3"]);
  private result: string[] = [];
  constructor() {
    this.strings$.pipe(tap(res => this.result = res));

0개의 댓글