The toFuture operation throws an exception if the Observable emits more than one item. If the
Observable may emit more than item, use toList().toFuture().
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type of source. T> Future | Returns: the Future to retrieve a single elements from an Observablean observable sequence to get a Future for. that)Returns a Future that expects a single item from the observable. |
| BlockingOperatorToFuture | back to summary |
|---|---|
| private BlockingOperatorToFuture() | |
| toFuture | back to summary |
|---|---|
| public static <T> Future Returns a Future that expects a single item from the observable.
| |