public final class Async
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static rx.functions.FuncN<rx.Observable<java.lang.Void>> |
asyncAction(rx.functions.ActionN action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static rx.functions.FuncN<rx.Observable<java.lang.Void>> |
asyncAction(rx.functions.ActionN action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <R> rx.functions.FuncN<rx.Observable<R>> |
asyncFunc(rx.functions.FuncN<? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <R> rx.functions.FuncN<rx.Observable<R>> |
asyncFunc(rx.functions.FuncN<? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T> rx.Observable<T> |
deferFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends rx.Observable<? extends T>>> observableFactoryAsync)
Returns an Observable that starts the specified asynchronous factory function whenever a new observer
subscribes.
|
static <T> rx.Observable<T> |
deferFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends rx.Observable<? extends T>>> observableFactoryAsync,
rx.Scheduler scheduler)
Returns an Observable that starts the specified asynchronous factory function whenever a new observer
subscribes.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.functions.Action0 onCompleted)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.functions.Action0 onCompleted,
rx.Scheduler scheduler)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future, scheduled on the given Scheduler.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.Scheduler scheduler)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future, scheduled on the given Scheduler.
|
static <T> java.util.concurrent.FutureTask<java.lang.Void> |
forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.Scheduler scheduler)
Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
or error through a Future, scheduled on the given scheduler.
|
static <R> rx.Observable<R> |
fromAction(rx.functions.Action0 action,
R result)
Return an Observable that calls the given action and emits the given result when an Observer subscribes.
|
static <R> rx.Observable<R> |
fromAction(rx.functions.Action0 action,
R result,
rx.Scheduler scheduler)
Return an Observable that calls the given action and emits the given result when an Observer subscribes.
|
static <R> rx.Observable<R> |
fromCallable(java.util.concurrent.Callable<? extends R> callable)
Return an Observable that calls the given Callable and emits its result or Exception when an Observer
subscribes.
|
static <R> rx.Observable<R> |
fromCallable(java.util.concurrent.Callable<? extends R> callable,
rx.Scheduler scheduler)
Return an Observable that calls the given Callable and emits its result or Exception when an Observer
subscribes.
|
static <R> rx.Observable<R> |
fromRunnable(java.lang.Runnable run,
R result)
Return an Observable that calls the given Runnable and emits the given result when an Observer
subscribes.
|
static <R> rx.Observable<R> |
fromRunnable(java.lang.Runnable run,
R result,
rx.Scheduler scheduler)
Return an Observable that calls the given Runnable and emits the given result when an Observer
subscribes.
|
static <T> StoppableObservable<T> |
runAsync(rx.Scheduler scheduler,
rx.functions.Action2<? super rx.Observer<? super T>,? super rx.Subscription> action)
Runs the provided action on the given scheduler and allows propagation of multiple events to the
observers of the returned StoppableObservable.
|
static <T,U> StoppableObservable<U> |
runAsync(rx.Scheduler scheduler,
rx.subjects.Subject<T,U> subject,
rx.functions.Action2<? super rx.Observer<? super T>,? super rx.Subscription> action)
Runs the provided action on the given scheduler and allows propagation of multiple events to the
observers of the returned StoppableObservable.
|
static <T> rx.Observable<T> |
start(rx.functions.Func0<T> func)
Invokes the specified function asynchronously and returns an Observable that emits the result.
|
static <T> rx.Observable<T> |
start(rx.functions.Func0<T> func,
rx.Scheduler scheduler)
Invokes the specified function asynchronously on the specified Scheduler and returns an Observable that
emits the result.
|
static <T> rx.Observable<T> |
startFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends T>> functionAsync)
Invokes the asynchronous function immediately, surfacing the result through an Observable.
|
static <T> rx.Observable<T> |
startFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends T>> functionAsync,
rx.Scheduler scheduler)
Invokes the asynchronous function immediately, surfacing the result through an Observable and waits on
the specified Scheduler.
|
static rx.functions.Func0<rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action0 action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static rx.functions.Func0<rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action0 action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1> rx.functions.Func1<T1,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action1<? super T1> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1> rx.functions.Func1<T1,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action1<? super T1> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2> rx.functions.Func2<T1,T2,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action2<? super T1,? super T2> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2> rx.functions.Func2<T1,T2,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action2<? super T1,? super T2> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3> rx.functions.Func3<T1,T2,T3,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action3<? super T1,? super T2,? super T3> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3> rx.functions.Func3<T1,T2,T3,rx.Observable<java.lang.Void>> |
toAsync(rx.functions.Action3<? super T1,? super T2,? super T3> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4> |
toAsync(rx.functions.Action4<? super T1,? super T2,? super T3,? super T4> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4> |
toAsync(rx.functions.Action4<? super T1,? super T2,? super T3,? super T4> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5> |
toAsync(rx.functions.Action5<? super T1,? super T2,? super T3,? super T4,? super T5> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5> |
toAsync(rx.functions.Action5<? super T1,? super T2,? super T3,? super T4,? super T5> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6> |
toAsync(rx.functions.Action6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6> |
toAsync(rx.functions.Action6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7> |
toAsync(rx.functions.Action7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7> |
toAsync(rx.functions.Action7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8> |
toAsync(rx.functions.Action8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8> |
toAsync(rx.functions.Action8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,T9> |
toAsync(rx.functions.Action9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9> action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,T9> |
toAsync(rx.functions.Action9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9> action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static rx.functions.FuncN<rx.Observable<java.lang.Void>> |
toAsync(rx.functions.ActionN action)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static rx.functions.FuncN<rx.Observable<java.lang.Void>> |
toAsync(rx.functions.ActionN action,
rx.Scheduler scheduler)
Convert a synchronous action call into an asynchronous function call through an Observable.
|
static <R> rx.functions.Func0<rx.Observable<R>> |
toAsync(rx.functions.Func0<? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <R> rx.functions.Func0<rx.Observable<R>> |
toAsync(rx.functions.Func0<? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,R> rx.functions.Func1<T1,rx.Observable<R>> |
toAsync(rx.functions.Func1<? super T1,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,R> rx.functions.Func1<T1,rx.Observable<R>> |
toAsync(rx.functions.Func1<? super T1,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,R> rx.functions.Func2<T1,T2,rx.Observable<R>> |
toAsync(rx.functions.Func2<? super T1,? super T2,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,R> rx.functions.Func2<T1,T2,rx.Observable<R>> |
toAsync(rx.functions.Func2<? super T1,? super T2,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,R> |
toAsync(rx.functions.Func3<? super T1,? super T2,? super T3,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,R> |
toAsync(rx.functions.Func3<? super T1,? super T2,? super T3,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,R> |
toAsync(rx.functions.Func4<? super T1,? super T2,? super T3,? super T4,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,R> |
toAsync(rx.functions.Func4<? super T1,? super T2,? super T3,? super T4,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,R> |
toAsync(rx.functions.Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,R> |
toAsync(rx.functions.Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,R> |
toAsync(rx.functions.Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,R> |
toAsync(rx.functions.Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,R> |
toAsync(rx.functions.Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,R> |
toAsync(rx.functions.Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
toAsync(rx.functions.Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
toAsync(rx.functions.Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> |
toAsync(rx.functions.Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> |
toAsync(rx.functions.Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <R> rx.functions.FuncN<rx.Observable<R>> |
toAsync(rx.functions.FuncN<? extends R> func)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
static <R> rx.functions.FuncN<rx.Observable<R>> |
toAsync(rx.functions.FuncN<? extends R> func,
rx.Scheduler scheduler)
Convert a synchronous function call into an asynchronous function call through an Observable.
|
public static <T> rx.Observable<T> start(rx.functions.Func0<T> func)
Note: The function is called immediately and once, not whenever an observer subscribes to the resulting Observable. Multiple subscriptions to this Observable observe the same return value.

T - the result value typefunc - function to run asynchronouslypublic static <T> rx.Observable<T> start(rx.functions.Func0<T> func,
rx.Scheduler scheduler)
Note: The function is called immediately and once, not whenever an observer subscribes to the resulting Observable. Multiple subscriptions to this Observable observe the same return value.

T - the result value typefunc - function to run asynchronouslyscheduler - Scheduler to run the function onpublic static rx.functions.Func0<rx.Observable<java.lang.Void>> toAsync(rx.functions.Action0 action)

action - the action to convertaction and emits nullpublic static <R> rx.functions.Func0<rx.Observable<R>> toAsync(rx.functions.Func0<? extends R> func)

R - the result value typefunc - the function to convertfunc and emits its returned valuepublic static <T1> rx.functions.Func1<T1,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action1<? super T1> action)

T1 - first parameter type of the actionaction - the action to convertaction and emits nullpublic static <T1,R> rx.functions.Func1<T1,rx.Observable<R>> toAsync(rx.functions.Func1<? super T1,? extends R> func)

T1 - first parameter type of the actionR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2> rx.functions.Func2<T1,T2,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action2<? super T1,? super T2> action)

T1 - the first parameter typeT2 - the second parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,R> rx.functions.Func2<T1,T2,rx.Observable<R>> toAsync(rx.functions.Func2<? super T1,? super T2,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3> rx.functions.Func3<T1,T2,T3,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action3<? super T1,? super T2,? super T3> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,R> rx.functions.Func3<T1,T2,T3,rx.Observable<R>> toAsync(rx.functions.Func3<? super T1,? super T2,? super T3,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4> rx.functions.Func4<T1,T2,T3,T4,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action4<? super T1,? super T2,? super T3,? super T4> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,R> rx.functions.Func4<T1,T2,T3,T4,rx.Observable<R>> toAsync(rx.functions.Func4<? super T1,? super T2,? super T3,? super T4,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5> rx.functions.Func5<T1,T2,T3,T4,T5,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action5<? super T1,? super T2,? super T3,? super T4,? super T5> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,T5,R> rx.functions.Func5<T1,T2,T3,T4,T5,rx.Observable<R>> toAsync(rx.functions.Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6> rx.functions.Func6<T1,T2,T3,T4,T5,T6,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,R> rx.functions.Func6<T1,T2,T3,T4,T5,T6,rx.Observable<R>> toAsync(rx.functions.Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7> rx.functions.Func7<T1,T2,T3,T4,T5,T6,T7,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,R> rx.functions.Func7<T1,T2,T3,T4,T5,T6,T7,rx.Observable<R>> toAsync(rx.functions.Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7,T8> rx.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,T8,R> rx.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,rx.Observable<R>> toAsync(rx.functions.Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7,T8,T9> rx.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9> action)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeT9 - the ninth parameter typeaction - the action to convertaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> rx.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,rx.Observable<R>> toAsync(rx.functions.Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> func)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeT9 - the ninth parameter typeR - the result typefunc - the function to convertfunc and emits its returned valuepublic static rx.functions.FuncN<rx.Observable<java.lang.Void>> toAsync(rx.functions.ActionN action)

action - the action to convertaction and emits nullpublic static <R> rx.functions.FuncN<rx.Observable<R>> toAsync(rx.functions.FuncN<? extends R> func)

R - the result typefunc - the function to convertfunc and emits its returned valuepublic static rx.functions.Func0<rx.Observable<java.lang.Void>> toAsync(rx.functions.Action0 action,
rx.Scheduler scheduler)

action - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <R> rx.functions.Func0<rx.Observable<R>> toAsync(rx.functions.Func0<? extends R> func,
rx.Scheduler scheduler)

R - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1> rx.functions.Func1<T1,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action1<? super T1> action,
rx.Scheduler scheduler)

T1 - the first parameter typeaction - the Action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,R> rx.functions.Func1<T1,rx.Observable<R>> toAsync(rx.functions.Func1<? super T1,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2> rx.functions.Func2<T1,T2,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action2<? super T1,? super T2> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,R> rx.functions.Func2<T1,T2,rx.Observable<R>> toAsync(rx.functions.Func2<? super T1,? super T2,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3> rx.functions.Func3<T1,T2,T3,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action3<? super T1,? super T2,? super T3> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,R> rx.functions.Func3<T1,T2,T3,rx.Observable<R>> toAsync(rx.functions.Func3<? super T1,? super T2,? super T3,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4> rx.functions.Func4<T1,T2,T3,T4,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action4<? super T1,? super T2,? super T3,? super T4> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,R> rx.functions.Func4<T1,T2,T3,T4,rx.Observable<R>> toAsync(rx.functions.Func4<? super T1,? super T2,? super T3,? super T4,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5> rx.functions.Func5<T1,T2,T3,T4,T5,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action5<? super T1,? super T2,? super T3,? super T4,? super T5> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,T5,R> rx.functions.Func5<T1,T2,T3,T4,T5,rx.Observable<R>> toAsync(rx.functions.Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6> rx.functions.Func6<T1,T2,T3,T4,T5,T6,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,R> rx.functions.Func6<T1,T2,T3,T4,T5,T6,rx.Observable<R>> toAsync(rx.functions.Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7> rx.functions.Func7<T1,T2,T3,T4,T5,T6,T7,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,R> rx.functions.Func7<T1,T2,T3,T4,T5,T6,T7,rx.Observable<R>> toAsync(rx.functions.Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7,T8> rx.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,T8,R> rx.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,rx.Observable<R>> toAsync(rx.functions.Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T1,T2,T3,T4,T5,T6,T7,T8,T9> rx.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,rx.Observable<java.lang.Void>> toAsync(rx.functions.Action9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9> action,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeT9 - the ninth parameter typeaction - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> rx.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,rx.Observable<R>> toAsync(rx.functions.Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> func,
rx.Scheduler scheduler)

T1 - the first parameter typeT2 - the second parameter typeT3 - the third parameter typeT4 - the fourth parameter typeT5 - the fifth parameter typeT6 - the sixth parameter typeT7 - the seventh parameter typeT8 - the eighth parameter typeT9 - the ninth parameter typeR - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static rx.functions.FuncN<rx.Observable<java.lang.Void>> toAsync(rx.functions.ActionN action,
rx.Scheduler scheduler)

action - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <R> rx.functions.FuncN<rx.Observable<R>> toAsync(rx.functions.FuncN<? extends R> func,
rx.Scheduler scheduler)

R - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static rx.functions.FuncN<rx.Observable<java.lang.Void>> asyncAction(rx.functions.ActionN action)
Alias for toAsync(ActionN) intended for dynamic languages.
action - the action to convertaction and emits nullpublic static rx.functions.FuncN<rx.Observable<java.lang.Void>> asyncAction(rx.functions.ActionN action,
rx.Scheduler scheduler)
Alias for toAsync(ActionN, Scheduler) intended for dynamic languages.
action - the action to convertscheduler - the Scheduler used to execute the actionaction and emits nullpublic static <R> rx.functions.FuncN<rx.Observable<R>> asyncFunc(rx.functions.FuncN<? extends R> func)
Alias for toAsync(FuncN) intended for dynamic languages.
R - the result typefunc - the function to convertfunc and emits its returned valuepublic static <R> rx.functions.FuncN<rx.Observable<R>> asyncFunc(rx.functions.FuncN<? extends R> func,
rx.Scheduler scheduler)
Alias for toAsync(FuncN, Scheduler) intended for dynamic languages.
R - the result typefunc - the function to convertscheduler - the Scheduler used to call the funcfunc and emits its returned valuepublic static <T> rx.Observable<T> startFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends T>> functionAsync)
Important note subscribing to the resulting Observable blocks until the future completes.

T - the result typefunctionAsync - the asynchronous function to runstartFuture(rx.functions.Func0, rx.Scheduler),
RxJava Wiki: startFuture()public static <T> rx.Observable<T> startFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends T>> functionAsync,
rx.Scheduler scheduler)

T - the result typefunctionAsync - the asynchronous function to runscheduler - the Scheduler where the completion of the Future is awaitedpublic static <T> rx.Observable<T> deferFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends rx.Observable<? extends T>>> observableFactoryAsync)
Important note subscribing to the resulting Observable blocks until the future completes.

T - the result typeobservableFactoryAsync - the asynchronous function to start for each observerdeferFuture(rx.functions.Func0, rx.Scheduler),
RxJava Wiki: deferFuture()public static <T> rx.Observable<T> deferFuture(rx.functions.Func0<? extends java.util.concurrent.Future<? extends rx.Observable<? extends T>>> observableFactoryAsync,
rx.Scheduler scheduler)

T - the result typeobservableFactoryAsync - the asynchronous function to start for each observerscheduler - the Scheduler where the completion of the Future is awaitedpublic static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext)
Important note: The returned task blocks indefinitely unless the run() method is called
or the task is scheduled on an Executor.

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementforEachFuture(rx.Observable, rx.functions.Action1, rx.Scheduler),
RxJava Wiki: forEachFuture()public static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError)
Important note: The returned task blocks indefinitely unless the run() method is called
or the task is scheduled on an Executor.

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementonError - the action to call when an exception is emittedforEachFuture(rx.Observable, rx.functions.Action1, rx.functions.Action1, rx.Scheduler),
RxJava Wiki: forEachFuture()public static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.functions.Action0 onCompleted)
Important note: The returned task blocks indefinitely unless the run() method is called
or the task is scheduled on an Executor.

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementonError - the action to call when an exception is emittedonCompleted - the action to call when the source completesforEachFuture(rx.Observable, rx.functions.Action1, rx.functions.Action1, rx.functions.Action0, rx.Scheduler),
RxJava Wiki: forEachFuture()public static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.Scheduler scheduler)

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementscheduler - the Scheduler where the task will await the termination of the for-eachpublic static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.Scheduler scheduler)

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementonError - the action to call when an exception is emittedscheduler - the Scheduler where the task will await the termination of the for-eachpublic static <T> java.util.concurrent.FutureTask<java.lang.Void> forEachFuture(rx.Observable<? extends T> source,
rx.functions.Action1<? super T> onNext,
rx.functions.Action1<? super java.lang.Throwable> onError,
rx.functions.Action0 onCompleted,
rx.Scheduler scheduler)

T - the source value typesource - the source ObservableonNext - the action to call with each emitted elementonError - the action to call when an exception is emittedonCompleted - the action to call when the source completesscheduler - the Scheduler where the task will await the termination of the for-eachpublic static <R> rx.Observable<R> fromAction(rx.functions.Action0 action,
R result)
The action is run on the default thread pool for computation.
R - the return typeaction - the action to invoke on each subscriptionresult - the result to emit to observerspublic static <R> rx.Observable<R> fromCallable(java.util.concurrent.Callable<? extends R> callable)
The Callable is called on the default thread pool for computation.
R - the return typecallable - the callable to call on each subscriptionstart(rx.functions.Func0),
RxJava Wiki: fromCallable()public static <R> rx.Observable<R> fromRunnable(java.lang.Runnable run,
R result)
The Runnable is called on the default thread pool for computation.
R - the return typerun - the runnable to invoke on each subscriptionresult - the result to emit to observerspublic static <R> rx.Observable<R> fromAction(rx.functions.Action0 action,
R result,
rx.Scheduler scheduler)

R - the return typeaction - the action to invoke on each subscriptionscheduler - the Scheduler where the function is called and the result is emittedresult - the result to emit to observerspublic static <R> rx.Observable<R> fromCallable(java.util.concurrent.Callable<? extends R> callable,
rx.Scheduler scheduler)

R - the return typecallable - the callable to call on each subscriptionscheduler - the Scheduler where the function is called and the result is emittedstart(rx.functions.Func0),
RxJava Wiki: fromCallable()public static <R> rx.Observable<R> fromRunnable(java.lang.Runnable run,
R result,
rx.Scheduler scheduler)

R - the return typerun - the runnable to invoke on each subscriptionscheduler - the Scheduler where the function is called and the result is emittedresult - the result to emit to observerspublic static <T> StoppableObservable<T> runAsync(rx.Scheduler scheduler, rx.functions.Action2<? super rx.Observer<? super T>,? super rx.Subscription> action)
T - the output value typescheduler - the Scheduler where the action is executedaction - the action to execute, receives an Observer where the events can be pumped and a
Subscription which lets it check for cancellation conditionpublic static <T,U> StoppableObservable<U> runAsync(rx.Scheduler scheduler, rx.subjects.Subject<T,U> subject, rx.functions.Action2<? super rx.Observer<? super T>,? super rx.Subscription> action)
T - the output value of the actionU - the output type of the observable sequencescheduler - the Scheduler where the action is executedsubject - the subject to use to distribute values emitted by the actionaction - the action to execute, receives an Observer where the events can be pumped and a
Subscription which lets it check for cancellation condition