Package org.osgi.util.promise
Class DeferredPromiseImpl.Chain
- java.lang.Object
-
- org.osgi.util.promise.DeferredPromiseImpl.Chain
-
- All Implemented Interfaces:
java.lang.Runnable,PromiseImpl.InlineCallback,PromiseImpl.Result<T>
- Enclosing class:
- DeferredPromiseImpl<T>
final class DeferredPromiseImpl.Chain extends java.lang.Object implements java.lang.Runnable, PromiseImpl.InlineCallback, PromiseImpl.Result<T>
A callback used to resolve the chained Promise when the Promise is resolved.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(T v, java.lang.Throwable f)voidrun()
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
accept
public void accept(T v, java.lang.Throwable f)
- Specified by:
acceptin interfacePromiseImpl.Result<T>
-
-