Package org.osgi.util.promise
Interface PromiseImpl.InlineCallback
- All Known Implementing Classes:
DeferredPromiseImpl.Chain,DeferredPromiseImpl.ChainImpl,DeferredPromiseImpl.Delay,DeferredPromiseImpl.FallbackChain,DeferredPromiseImpl.FallbackTo,DeferredPromiseImpl.ResolveWith,DeferredPromiseImpl.Timeout,PromiseFactory.All
- Enclosing class:
PromiseImpl<T>
static interface PromiseImpl.InlineCallback
Marker interface for internal callbacks which do not call user code and
should be run on the current thread for an already resolved promise. Such
internal callbacks should be directly called to resolve a
DeferredPromiseImpl so that its
DeferredPromiseImpl.orDone()
method can convert it to a resolved PromiseImpl type for
efficiency.- Since:
- 1.2