public interface RelayOk
SyncCallback
interface. An asynchronous method
typically accepts SyncCallback
parameter or throws an exception. By contract either
an exception is thrown or the caller rely on SyncCallback
being called sooner or later.
This interface as a return type helps correctly write such code:
RelayOk
-returning method;
CallbackSemaphore.acquireDefault(org.eclipse.wst.jsdt.chromium.RelayOk)
without
actually calling someone RelayOk
-returning.
This helps to prove that nobody will wait forever for a call-back that is never actually going to be called.
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.