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.static <T> AwaitingEventStream
<Try<T>> Await.awaitCompletionStage
(EventStream<CompletionStage<T>> source, Executor clientThreadExecutor) static <T> AwaitingEventStream
<Try<T>> AwaitLatest.awaitCompletionStage
(EventStream<CompletionStage<T>> source, Executor clientThreadExecutor) static <T> AwaitingEventStream
<Try<T>> AwaitLatest.awaitCompletionStage
(EventStream<CompletionStage<T>> source, EventStream<?> cancelImpulse, Executor clientThreadExecutor) 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.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.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.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.static <T> AwaitingEventStream
<Try<T>> Await.awaitTask
(EventStream<javafx.concurrent.Task<T>> source) static <T> AwaitingEventStream
<Try<T>> AwaitLatest.awaitTask
(EventStream<javafx.concurrent.Task<T>> source) static <T> AwaitingEventStream
<Try<T>> AwaitLatest.awaitTask
(EventStream<javafx.concurrent.Task<T>> source, EventStream<?> cancelImpulse) -
Uses of Try in org.reactfx.util
Classes in org.reactfx.util that implement TryModifier and TypeClassDescription(package private) class
Failure<T>
(package private) class
Success<T>
Methods in org.reactfx.util that return TryModifier and TypeMethodDescriptionstatic <T> Try
<T> <U> Try
<U> <U> Try
<U> <U> Try
<U> <U> Try
<U> <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 TryModifier and TypeMethodDescriptionMethod parameters in org.reactfx.util with type arguments of type Try