isReplayValueStream property
Whether or not the stream emits the last value
like BehaviorSubject
does.
Defaults to true
.
注意:
在FrViewModel中, VM.stream
是来自BehaviorSubject
的ValueStream
但某些情况下, VM.stmXxx
可能不是来自于VM.stream
, 而是单纯的Stream,
因此需要将本值设为false
Implementation
final bool isReplayValueStream;