Package | Description |
---|---|
rx.subjects |
Modifier and Type | Class and Description |
---|---|
class |
AsyncSubject<T>
Subject that publishes only the last item observed to each
Observer that has subscribed, when the
source Observable completes. |
class |
BehaviorSubject<T>
Subject that emits the most recent item it has observed and all subsequent observed items to each subscribed
Observer . |
class |
PublishSubject<T>
Subject that, once an
Observer has subscribed, emits all subsequently observed items to the
subscriber. |
class |
ReplaySubject<T>
Subject that buffers all items it observes and replays them to any
Observer that subscribes. |
class |
SerializedSubject<T,R>
Wraps a
Subject so that it is safe to call its various on methods from different threads. |
class |
TestSubject<T>
A variety of Subject that is useful for testing purposes.
|
Constructor and Description |
---|
SerializedSubject(Subject<T,R> actual) |
Copyright © 2015. All Rights Reserved.