toPromise doesn't return last observed value

后端 未结 0 1085
名媛妹妹
名媛妹妹 2021-01-22 03:25

Here is an example that can be run with ts-node. Why is the value displayed in result 2 instead of 3.

import { interval, Subject } from \'rxjs\';
import { startWi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题