Uses of Interface
org.reactfx.util.Try
Packages that use Try
-
Uses of Try in org.reactfx
Methods in org.reactfx that return types with arguments of type TryModifier and TypeMethodDescriptiondefault AwaitingEventStream<Try<T>> CompletionStageStream.await()Returns a new stream that emits the results of completions stages emitted from this stream when they become available.default AwaitingEventStream<Try<T>> A variant ofCompletionStageStream.await()for streams that do not live on the JavaFX application thread.default AwaitingEventStream<Try<T>> TaskStream.await()Returns a new stream that emits the results of tasks emitted from this stream when they become available.default AwaitingEventStream<Try<T>> CompletionStageStream.awaitLatest()Similar toCompletionStageStream.await(), with one difference: for completion stages s1 and s2 emitted from this stream in this order, if s2 arrives before s1 is completed, then the result of s1 is discarded (i.e. not emitted from the returned stream).default AwaitingEventStream<Try<T>> CompletionStageStream.awaitLatest(Executor clientThreadExecutor) A variant ofCompletionStageStream.awaitLatest()for streams that do not live on the JavaFX application thread.default AwaitingEventStream<Try<T>> CompletionStageStream.awaitLatest(EventStream<?> canceller) Similar toCompletionStageStream.awaitLatest(), with one addition: When an event is emitted fromcanceller, if the completion stage most recently emitted from this stream has not yet completed, its result is discarded (i.e. not emitted from the returned stream).default AwaitingEventStream<Try<T>> CompletionStageStream.awaitLatest(EventStream<?> canceller, Executor clientThreadExecutor) A variant ofCompletionStageStream.awaitLatest(EventStream)for streams that do not live on the JavaFX application thread.default AwaitingEventStream<Try<T>> TaskStream.awaitLatest()Similar toTaskStream.await(), with one difference: for tasks t1 and t2 emitted from this stream in this order, if t2 arrives before t1 is completed, then t1 is cancelled and its result is discarded (i.e. not emitted from the returned stream).default AwaitingEventStream<Try<T>> TaskStream.awaitLatest(EventStream<?> canceller) Similar toTaskStream.awaitLatest(), with one addition: When an event is emitted fromcanceller, if the task most recently emitted from this stream has not yet completed, it is cancelled and its result discarded (i.e. not emitted from the returned stream). -
Uses of Try in org.reactfx.util
Methods in org.reactfx.util that return TryModifier and TypeMethodDescriptionstatic <T> Try<T> <U> Try<U> <U> Try<U> static <T> Try<T> Try.success(T value) static <T> Try<T> Methods in org.reactfx.util with parameters of type TryMethod parameters in org.reactfx.util with type arguments of type Try