Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Medium
Description
Even if a user calls a method asynchronously and does not care about the result, the result is still collected. Provide a way to indicate ahead of time that the result will be discarded.
Example mockup
// Given this method: proxy.someMethod(); // returns T // We currently support: EJBClient.getFutureResult(EJBClient.asynchronous(proxy).someMethod()); // "converts" result into Future<T> // But should also support: EJBClient.oneWay(proxy).someMethod(); // discards result and returns null