You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the online-auction example, there is a CompletionStageUtils which contains very useful helpers to manipulates CompletionStage. it might be worth moving this to Lagom itself.
Anyone manipulating CompletionStage ends up writing this exact set of functions.
The text was updated successfully, but these errors were encountered:
Tell me about it. And trust me, we did do our best to try and influence the CompletionStage API to include these before JDK 8 came out, that would have been the best solution, but unfortunately nothing came of it.
I don't know if these belong in Lagom or not - I'd rather not be responsible for maintaining utility APIs like this, once you add one utility method, then why not add a whole suite of methods? There are dedicated libraries for making up for the short comings of the JDK, such as Guava and commons-lang, it'd be better to add these there and then make everyone depend on one of those.
In the online-auction example, there is a
CompletionStageUtils
which contains very useful helpers to manipulatesCompletionStage
. it might be worth moving this to Lagom itself.Anyone manipulating
CompletionStage
ends up writing this exact set of functions.The text was updated successfully, but these errors were encountered: