-
Nested Class Summary
Nested Classes
static final class
static final class
-
Method Summary
default void
void
void
static <T> @NotNull Async<T>
get(long millis,
int nanos)
static <T> @NotNull Async<T>
static <T> @NotNull Async<T>
static <T> @NotNull Async<T>
Methods inherited from interface java.util.function.Supplier
get
-
Method Details
-
completed
@NotNull
static <T> @NotNull Async<T> completed(T value)
-
uncompleted
@NotNull
static <T> @NotNull Async<T> uncompleted()
-
supply
@NotNull
static <T> @NotNull Async<T> supply(@NotNull
@NotNull Supplier<T> supplier)
-
supply
@NotNull
static <T> @NotNull Async<T> supply(@NotNull
@NotNull Supplier<T> supplier,
@NotNull
@NotNull Executor executor)
-
addListener
void addListener(@NotNull
@NotNull Consumer<T> listener)
-
-
accept
default void accept(T value)
- Specified by:
accept in interface Consumer<T>
-
get
T get(long millis,
int nanos)
-