Converts this Maybe into an Observable instance composing disposal through. Scheduler: toObservable does not oper
()
| 4541 | * @return the new {@code Observable} instance |
| 4542 | */ |
| 4543 | @SuppressWarnings("unchecked") |
| 4544 | @CheckReturnValue |
| 4545 | @SchedulerSupport(SchedulerSupport.NONE) |
| 4546 | @NonNull |
| 4547 | public final Observable<T> toObservable() { |
| 4548 | if (this instanceof FuseToObservable) { |
| 4549 | return ((FuseToObservable<T>)this).fuseToObservable(); |
| 4550 | } |
| 4551 | return RxJavaPlugins.onAssembly(new MaybeToObservable<>(this)); |
| 4552 | } |
| 4553 | |
| 4554 | /** |
| 4555 | * Converts this {@code Maybe} into a {@link Single} instance composing disposal |