All of behave exactly the same like described here
RxRelay provides three kinds of Relays: PublishRelay
, BehaviorRelay
and ReplayRelay
.
They behave exactly like their parallel Subject
s, with two changes:
- Relays never complete.
- Relays never emit errors.
In essence, Relays only emit .next
events, and never terminate.