Uses of Class
io.reactivex.rxjava3.subjects.PublishSubject.PublishDisposable
-
Packages that use PublishSubject.PublishDisposable Package Description io.reactivex.rxjava3.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. -
-
Uses of PublishSubject.PublishDisposable in io.reactivex.rxjava3.subjects
Fields in io.reactivex.rxjava3.subjects declared as PublishSubject.PublishDisposable Modifier and Type Field Description (package private) static PublishSubject.PublishDisposable[]
PublishSubject. EMPTY
An empty subscribers array to avoid allocating it all the time.(package private) static PublishSubject.PublishDisposable[]
PublishSubject. TERMINATED
The terminated indicator for the subscribers array.Methods in io.reactivex.rxjava3.subjects with parameters of type PublishSubject.PublishDisposable Modifier and Type Method Description (package private) boolean
PublishSubject. add(PublishSubject.PublishDisposable<T> ps)
Tries to add the given subscriber to the subscribers array atomically or returns false if the subject has terminated.(package private) void
PublishSubject. remove(PublishSubject.PublishDisposable<T> ps)
Atomically removes the given subscriber if it is subscribed to the subject.
-