MCPcopy Create free account
hub / github.com/traneio/future / delay

Method delay

future-java/src/main/java/io/trane/future/Future.java:385–385  ·  view source on GitHub ↗

Returns a void future that is satisfied after the specified delay. It's a shortcut for `Future.VOID.delayed(delay, scheduler)` @param delay for how long the future must be delayed @param scheduler a scheduler for internal tasks @return the void future that is satisfied after the del

(final Duration delay, ScheduledExecutorService scheduler)

Source from the content-addressed store, hash-verified

383 * @return the void future that is satisfied after the delay
384 */
385 public static Future<Void> delay(final Duration delay, ScheduledExecutorService scheduler) {
386 return Future.VOID.delayed(delay, scheduler);
387 }
388

Callers 1

delayMethod · 0.95

Calls

no outgoing calls

Tested by 1

delayMethod · 0.76