Package-level declarations

Types

Link copied to clipboard
interface BehaviorObservable<out T> : Observable<T>

Represents an Observable with a most recent value, which is automatically emitted to every new observer.

Link copied to clipboard

Represents a Relay and BehaviorObservable at the same time. It is same as BehaviorSubject, but without ability to send onComplete and onError signals.

Link copied to clipboard

A Subject that emits the most recent element it has observed and all subsequent observed items to each subscribed observer.

Functions

Link copied to clipboard
fun <T> BehaviorSubject(initialValue: T): BehaviorSubject<T>

Creates a new instance of BehaviorSubject.