Uses of Interface
org.cometd.bayeux.Promise
-
Uses of Promise in org.cometd.bayeux
Classes in org.cometd.bayeux that implement PromiseModifier and TypeClassDescriptionstatic class
A CompletableFuture that is also a Promise.Fields in org.cometd.bayeux declared as PromiseModifier and TypeFieldDescriptionstatic final Promise
<?> Promise.NOOP
Shared instance whose methods are implemented empty,Methods in org.cometd.bayeux that return PromiseModifier and TypeMethodDescriptionstatic <T> Promise
<T> Promise.complete
(BiConsumer<T, Throwable> fn) Returns a Promise that, when completed, invokes the givenBiConsumer
function.static <T> Promise
<T> static <T> Promise
<T> Promise.noop()