Package panda.std.reactive
Class Completable<VALUE>
java.lang.Object
panda.std.reactive.Completable<VALUE>
- Type Parameters:
VALUE- type of value to store
- All Implemented Interfaces:
Publisher<Completable<VALUE>,VALUE>
Observable container for value that could be computed in the future.
This container is similar to
CompletableFuture, but without the concurrency layer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <VALUE> Completable<VALUE>completed(VALUE value) static <VALUE> Completable<VALUE>create()get()booleanisReady()booleansubscribe(Subscriber<? super VALUE> subscriber) <R> Completable<R><R> Completable<R>thenCompose(Function<? super VALUE, ? extends Completable<R>> map) toFuture()
-
Constructor Details
-
Completable
public Completable()
-
-
Method Details