Package-level declarations
Types
Link copied to clipboard
A Subject that queues up events until a single observer subscribes to it, replays those events to it until the observer catches up and then switches to relaying events live to this single observer until this UnicastSubject terminates or the observer unsubscribes.
Functions
Link copied to clipboard
fun <T> UnicastSubject(bufferSize: Int = Int.MAX_VALUE, onTerminate: () -> Unit = {}): UnicastSubject<T>
Create a new instance of UnicastSubject.