Getting one
hiscoreClient:lookupAsync(…)
Method details
whenComplete: (CompletableFuture, (HiscoreResult?, IOException?) -> ()) -> CompletableFuture
Run action(result, ex) when the future completes: ex is nil unless it failed. On the client thread at the first invoke point after it completes, even when it has already completed; an error action raises is logged. Answers this future.
whenCompleteAsync: (CompletableFuture, (HiscoreResult?, IOException?) -> ()) -> CompletableFuture
Run action(result, ex) when the future completes, on the client thread at the first invoke point after. An error action raises is logged. Answers this future.
isDone: (CompletableFuture) -> boolean
Whether it has completed, with a result or with an exception.
isCompletedExceptionally: (CompletableFuture) -> boolean
Whether it completed with an exception.