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 — Async Operators

Async Operators

Jump to bottom
David Gross edited this page Jan 12, 2015 · 11 revisions

The following operators are part of the distinct rxjava-async module. They are used to convert synchronous methods into Observables.

  • start( ) — create an Observable that emits the return value of a function
  • toAsync( ) or asyncAction( ) or asyncFunc( ) — convert a function or Action into an Observable that executes the function and emits its return value
  • startFuture( ) — convert a function that returns Future into an Observable that emits that Future's return value
  • deferFuture( ) — convert a Future that returns an Observable into an Observable, but do not attempt to get the Observable that the Future returns until a Subscriber subscribes
  • forEachFuture( ) — pass Subscriber methods to an Observable but also have it behave like a Future that blocks until it completes
  • fromAction( ) — convert an Action into an Observable that invokes the action and emits its result when a Subscriber subscribes
  • fromCallable( ) — convert a Callable into an Observable that invokes the callable and emits its result or exception when a Subscriber subscribes
  • fromRunnable( ) — convert a Runnable into an Observable that invokes the runable and emits its result when a Subscriber subscribes
  • runAsync( ) — returns a StoppableObservable that emits multiple actions as generated by a specified Action on a Scheduler

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.