Package | Description |
---|---|
io.reactivex.subjects |
Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
the respective consumer type at once to allow forms of multicasting events to multiple
consumers as well as consuming another base reactive type of their kind.
|
Modifier and Type | Method and Description |
---|---|
static <T> BehaviorSubject<T> |
BehaviorSubject.create()
Creates a
BehaviorSubject without a default item. |
static <T> BehaviorSubject<T> |
BehaviorSubject.createDefault(T defaultValue)
Creates a
BehaviorSubject that emits the last item it observed and all subsequent items to each
Observer that subscribes to it. |
Copyright © 2019. All rights reserved.