monifu.reactive

subjects

package subjects

Visibility
  1. Public
  2. All

Type Members

  1. final class AsyncSubject[T] extends Subject[T, T]

    An AsyncSubject emits the last value (and only the last value) emitted by the source Observable, and only after that source Observable completes.

    An AsyncSubject emits the last value (and only the last value) emitted by the source Observable, and only after that source Observable completes.

    If the source terminates with an error, the AsyncSubject will not emit any items to subsequent subscribers, but will simply pass along the error notification from the source Observable.

  2. final class BehaviorSubject[T] extends Subject[T, T]

    BehaviorSubject when subscribed, will emit the most recently emitted item by the source, or the initialValue (as the seed) in case no value has yet been emitted, then continuing to emit events subsequent to the time of invocation.

    BehaviorSubject when subscribed, will emit the most recently emitted item by the source, or the initialValue (as the seed) in case no value has yet been emitted, then continuing to emit events subsequent to the time of invocation.

    When the source terminates in error, the BehaviorSubject will not emit any items to subsequent subscribers, but instead it will pass along the error notification.

  3. trait ConnectableSubject[-I, +O] extends ConnectableObservable[O] with Subject[I, O]

    Represents a Subject that waits for the call to connect() before starting to emit elements to its subscriber(s).

    Represents a Subject that waits for the call to connect() before starting to emit elements to its subscriber(s).

    You can convert any Subject into a ConnectableSubject by means of Subject.multicast.

  4. final class PublishSubject[T] extends Subject[T, T]

    A PublishSubject emits to a subscriber only those items that are emitted by the source subsequent to the time of the subscription

    A PublishSubject emits to a subscriber only those items that are emitted by the source subsequent to the time of the subscription

    If the source terminates with an error, the PublishSubject will not emit any items to subsequent subscribers, but will simply pass along the error notification from the source Observable.

  5. final class ReplaySubject[T] extends Subject[T, T]

    ReplaySubject emits to any observer all of the items that were emitted by the source, regardless of when the observer subscribes.

    ReplaySubject emits to any observer all of the items that were emitted by the source, regardless of when the observer subscribes.

Value Members

  1. object AsyncSubject

  2. object BehaviorSubject

  3. object PublishSubject

  4. object ReplaySubject

Ungrouped