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

Method observeOn

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

Wraps a Maybe to emit its item (or notify of its error) on a specified Scheduler, asynchronously. Scheduler: you specify which

(@NonNull Scheduler scheduler)

Source from the content-addressed store, hash-verified

4426 * @see #subscribeOn
4427 */
4428 @CheckReturnValue
4429 @NonNull
4430 @SchedulerSupport(SchedulerSupport.CUSTOM)
4431 public final Maybe<T> observeOn(@NonNull Scheduler scheduler) {
4432 Objects.requireNonNull(scheduler, "scheduler is null");
4433 return RxJavaPlugins.onAssembly(new MaybeObserveOn<>(this, scheduler));
4434 }
4435
4436 /**
4437 * Filters the items emitted by the current {@code Maybe}, only emitting its success value if that

Callers 5

setupMethod · 0.45
callMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
applyMethod · 0.45

Calls 1

onAssemblyMethod · 0.95

Tested by

no test coverage detected