Return an Observable that replays the emissions from the source Observable, and then continues to replay them so long as a condtion is true. @param postCondition the post condi
(Observable<? extends T> source, Func0<Boolean> postCondition)
| 119 | * condition is true |
| 120 | */ |
| 121 | public static <T> Observable<T> doWhile(Observable<? extends T> source, Func0<Boolean> postCondition) { |
| 122 | return Observable.create(new OperatorWhileDoWhile<T>(source, TRUE, postCondition)); |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Return an Observable that replays the emissions from the source |
no outgoing calls