Returns a Future representing the single value emitted by the current Maybe or null if the current Maybe is empty. Cancelling the {@code
()
| 4523 | * @since 3.0.0 |
| 4524 | */ |
| 4525 | @CheckReturnValue |
| 4526 | @SchedulerSupport(SchedulerSupport.NONE) |
| 4527 | @NonNull |
| 4528 | public final Future<T> toFuture() { |
| 4529 | return subscribeWith(new FutureMultiObserver<>()); |
| 4530 | } |
| 4531 | |
| 4532 | /** |
| 4533 | * Converts this {@code Maybe} into an {@link Observable} instance composing disposal |
nothing calls this directly
no test coverage detected