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> UnicastSubject<T> |
UnicastSubject.create()
Creates an UnicastSubject with an internal buffer capacity hint 16.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(boolean delayError)
Creates an UnicastSubject with an internal buffer capacity hint 16 and given delay error flag.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(int capacityHint)
Creates an UnicastSubject with the given internal buffer capacity hint.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(int capacityHint,
Runnable onTerminate)
Creates an UnicastSubject with the given internal buffer capacity hint and a callback for
the case when the single Subscriber cancels its subscription.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(int capacityHint,
Runnable onTerminate,
boolean delayError)
Creates an UnicastSubject with the given internal buffer capacity hint, delay error flag and
a callback for the case when the single Subscriber cancels its subscription.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.