GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Observable Utility Operators

Observable Utility Operators

Jump to bottom
David Karnok edited this page May 8, 2018 · 93 revisions

This page lists various utility operators for working with Observables.

  • materialize( ) — convert an Observable into a list of Notifications
  • dematerialize( ) — convert a materialized Observable back into its non-materialized form
  • timestamp( ) — attach a timestamp to every item emitted by an Observable
  • serialize( ) — force an Observable to make serialized calls and to be well-behaved
  • cache( ) — remember the sequence of items emitted by the Observable and emit the same sequence to future Subscribers
  • observeOn( ) — specify on which Scheduler a Subscriber should observe the Observable
  • subscribeOn( ) — specify which Scheduler an Observable should use when its subscription is invoked
  • doOnEach( ) — register an action to take whenever an Observable emits an item
  • doOnNext( ) — register an action to call just before the Observable passes an onNext event along to its downstream
  • doAfterNext( ) — register an action to call after the Observable has passed an onNext event along to its downstream
  • doOnCompleted( ) — register an action to take when an Observable completes successfully
  • doOnError( ) — register an action to take when an Observable completes with an error
  • doOnTerminate( ) — register an action to call just before an Observable terminates, either successfully or with an error
  • doAfterTerminate( ) — register an action to call just after an Observable terminated, either successfully or with an error
  • doOnSubscribe( ) — register an action to take when an observer subscribes to an Observable
  • 1.x doOnUnsubscribe( ) — register an action to take when an observer unsubscribes from an Observable
  • finallyDo( ) — register an action to take when an Observable completes
  • doFinally( ) — register an action to call when an Observable terminates or it gets disposed
  • delay( ) — shift the emissions from an Observable forward in time by a specified amount
  • delaySubscription( ) — hold an Subscriber's subscription request for a specified amount of time before passing it on to the source Observable
  • timeInterval( ) — emit the time lapsed between consecutive emissions of a source Observable
  • using( ) — create a disposable resource that has the same lifespan as an Observable
  • single( ) — if the Observable completes after emitting a single item, return that item, otherwise throw an exception
  • singleOrDefault( ) — if the Observable completes after emitting a single item, return that item, otherwise return a default item
  • repeat( ) — create an Observable that emits a particular item or sequence of items repeatedly
  • repeatWhen( ) — create an Observable that emits a particular item or sequence of items repeatedly, depending on the emissions of a second Observable

Copyright (c) 2016-present, RxJava Contributors.
Twitter @RxJava | Gitter @RxJava

  • Introduction
  • Getting Started
  • How to Use RxJava
  • Reactive Streams
  • The reactive types of RxJava
  • Schedulers
  • Subjects
  • Error Handling
  • Operators (Alphabetical List)
    • Async
    • Blocking
    • Combining
    • Conditional & Boolean
    • Connectable
    • Creation
    • Error management
    • Filtering
    • Mathematical and Aggregate
    • Parallel flows
    • String
    • Transformation
    • Utility
    • Notable 3rd party Operators (Alphabetical List)
    • Operator matrix
  • Plugins
  • How to Contribute
  • Writing operators
  • Backpressure
    • another explanation
  • JavaDoc: 1.x, 2.x, 3.x
  • Coming from RxJava 1
  • Coming from RxJava 2
  • Additional Reading

Clone this wiki locally

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.