- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for computation (0.03 sec)
-
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* It is similar to a Promise in JavaScript. * It allows you to register callbacks that will be executed when the computation is complete, * either successfully (resolve) or with an error (reject). * </p> * * <p> * The Deferred class has a Promise inner class that allows you to register callbacks * to be executed when the computation is complete.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
try { deferred.promise().getResponse(10, TimeUnit.SECONDS); fail(); } catch (SuggesterException e) { assertEquals("An error occurred during the deferred computation.", e.getMessage()); } }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0)