object ConnectableObservable
- Companion:
- class
Value members
Concrete methods
@UnsafeBecauseImpure
def cacheUntilConnect[A, B](source: Observable[A], subject: Subject[A, B])(implicit s: Scheduler): ConnectableObservable[B]
Creates a ConnectableObservable that takes elements from source
and caches them until the call to connect()
happens. After that
the events are piped through the given subject
to the final
subscribers.
Creates a ConnectableObservable that takes elements from source
and caches them until the call to connect()
happens. After that
the events are piped through the given subject
to the final
subscribers.
@UnsafeBecauseImpure
def multicast[A, B](source: Observable[A], recipe: Pipe[A, B])(implicit s: Scheduler): ConnectableObservable[B]
Builds a ConnectableObservable for the given observable source and a given Pipe.
Builds a ConnectableObservable for the given observable source and a given Pipe.
@UnsafeProtocol @UnsafeBecauseImpure
def unsafeMulticast[A, B](source: Observable[A], subject: Subject[A, B])(implicit s: Scheduler): ConnectableObservable[B]
Builds a ConnectableObservable for the given observable source and a given Subject.
Builds a ConnectableObservable for the given observable source and a given Subject.