2017-03-10 53 views

回答

0

不,沒有。如果您只想獲得第一個值,請執行以下操作:

const myBoolean; 

yourObservable$.first().subscribe(myBool => myBoolean = myBool);