Package art.cutils.value
Class Pause.Run.Delay<T>
- java.lang.Object
-
- art.cutils.value.Pause.Run.Delay<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Try<T>
get()
This gets theTry
operation result.int
hashCode()
void
onComplete(@NotNull Consumer<Try<T>> tryResult)
Takes a consumer that consumes theTry
operation results.
-
-
-
Method Detail
-
get
@Contract(pure=true) public Try<T> get()
This gets theTry
operation result.- Returns:
- try result. Instance of
Try
-
onComplete
public void onComplete(@NotNull @NotNull Consumer<Try<T>> tryResult)
Takes a consumer that consumes theTry
operation results.- Parameters:
tryResult
-Try
operation results.
-
-