Uses of Interface
org.osgi.util.function.Consumer
Packages that use Consumer
-
Uses of Consumer in org.osgi.util.promise
Fields in org.osgi.util.promise declared as ConsumerModifier and TypeFieldDescriptionDeferredPromiseImpl.ThenAccept.consumer
PromiseImpl.OnFailure.failure
PromiseImpl.OnSuccess.success
Methods in org.osgi.util.promise with parameters of type ConsumerModifier and TypeMethodDescriptionRegister a callback to be called with the failure for this Promise when this Promise is resolved with a failure.Register a callback to be called with the failure for this Promise when this Promise is resolved with a failure.Register a callback to be called with the failure for this Promise when this Promise is resolved with a failure.Register a callback to be called with the result of this Promise when this Promise is resolved successfully.Register a callback to be called with the result of this Promise when this Promise is resolved successfully.Register a callback to be called with the result of this Promise when this Promise is resolved successfully.FailedPromiseImpl.thenAccept
(Consumer<? super T> consumer) Chain a new Promise to this Promise with a Consumer callback that receives the value of this Promise when it is successfully resolved.Promise.thenAccept
(Consumer<? super T> consumer) Chain a new Promise to this Promise with a Consumer callback that receives the value of this Promise when it is successfully resolved.PromiseImpl.thenAccept
(Consumer<? super T> consumer) Chain a new Promise to this Promise with a Consumer callback that receives the value of this Promise when it is successfully resolved.Constructors in org.osgi.util.promise with parameters of type Consumer