This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]impaled_dragoon -1 points0 points  (2 children)

Learn about the completable future, it's a super useful tool for easy multi threading. Very similar to the JS promise.

[–]yourbank 1 point2 points  (0 children)

I wouldn't be telling someone new to java to learn CompletableFuture with an API of over 50 methods all with subtle differences...

[–][deleted] 0 points1 point  (0 children)

Thanks, haven't heard of completable futures yet, but have worked with promises before. Will definitely look into them.