Returns a Maybe based on applying a specified function to the item emitted by the current Maybe, where that function returns a Single. When this Maybe just completes the resulting Maybe completes as well. <img width="640" height="357" src="https://raw.gith
(@NonNull Function<? super T, ? extends SingleSource<? extends R>> mapper)
| 4084 | * @since 2.1 |
| 4085 | */ |
| 4086 | @CheckReturnValue |
| 4087 | @NonNull |
| 4088 | @SchedulerSupport(SchedulerSupport.NONE) |
| 4089 | public final <@NonNull R> Maybe<R> flatMapSingle(@NonNull Function<? super T, ? extends SingleSource<? extends R>> mapper) { |
| 4090 | Objects.requireNonNull(mapper, "mapper is null"); |
| 4091 | return RxJavaPlugins.onAssembly(new MaybeFlatMapSingle<>(this, mapper)); |
| 4092 | } |
| 4093 | |
| 4094 | /** |
| 4095 | * Returns a {@link Completable} that completes based on applying a specified function to the item emitted by the |