You need to complete the inner observable, like this: subject.complete();. then [2] will be emitted as expected.
確定! 回上一頁