object ReplaySubject
- Companion:
- class
Value members
Concrete methods
Creates a size-bounded replay subject.
Creates a size-bounded replay subject.
In this setting, the ReplaySubject holds at most size items in its internal buffer and discards the oldest item.
- Value parameters:
- capacity
is the maximum size of the internal buffer
Creates a size-bounded replay subject, prepopulated.
Creates a size-bounded replay subject, prepopulated.
In this setting, the ReplaySubject holds at most size items in its internal buffer and discards the oldest item.
- Value parameters:
- capacity
is the maximum size of the internal buffer
- initial
is an initial sequence of elements to prepopulate the buffer