MCPcopy Index your code
hub / github.com/ReactiveX/RxJava / subscribeOn

Method subscribeOn

src/main/java/io/reactivex/rxjava3/core/Maybe.java:5414–5420  ·  view source on GitHub ↗

Asynchronously subscribes subscribers to this Maybe on the specified Scheduler. Scheduler: you specify which {@code Schedule

(@NonNull Scheduler scheduler)

Source from the content-addressed store, hash-verified

5412 * @see #observeOn
5413 */
5414 @CheckReturnValue
5415 @NonNull
5416 @SchedulerSupport(SchedulerSupport.CUSTOM)
5417 public final Maybe<T> subscribeOn(@NonNull Scheduler scheduler) {
5418 Objects.requireNonNull(scheduler, "scheduler is null");
5419 return RxJavaPlugins.onAssembly(new MaybeSubscribeOn<>(this, scheduler));
5420 }
5421
5422 /**
5423 * Subscribes a given {@link MaybeObserver} (subclass) to this {@code Maybe} and returns the given

Callers 15

setupMethod · 0.45
applyMethod · 0.45
setupMethod · 0.45
applyMethod · 0.45
callMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
applyMethod · 0.45
flowableFlowableMethod · 0.45
flowableSingleMethod · 0.45

Calls 1

onAssemblyMethod · 0.95

Tested by 15

flowableFlowableMethod · 0.36
flowableSingleMethod · 0.36
flowableMaybeMethod · 0.36
flowableCompletableMethod · 0.36
flowableCompletable2Method · 0.36
observableObservableMethod · 0.36
observerSingleMethod · 0.36
observerMaybeMethod · 0.36
observerCompletableMethod · 0.36
observerCompletable2Method · 0.36
singleSingleMethod · 0.36
singleMaybeMethod · 0.36