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

Method delayed

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

Delays the result of this future. It method doesn't take in consideration how long this future takes to be completed. It assumes the state of this future after delay, being it completed or not. @param delay for how long the future must be delayed @param timeUnit the time unit for delay @para

(final Duration delay, final ScheduledExecutorService scheduler)

Source from the content-addressed store, hash-verified

556 * @return a future that assumes the state of this future after delay.
557 */
558 Future<T> delayed(final Duration delay, final ScheduledExecutorService scheduler);
559
560 /**
561 * Proxies the result of this future, successful or not, to a Promise.

Callers 8

delayedMethod · 0.65
delayedMethod · 0.65
doubleDelayedMethod · 0.65
delayedInterruptMethod · 0.65
genMethod · 0.65
tailrecLoopDelayedMethod · 0.65
nonTailrecLoopDelayedMethod · 0.65
delayedMethod · 0.65

Calls

no outgoing calls

Tested by 8

delayedMethod · 0.52
delayedMethod · 0.52
doubleDelayedMethod · 0.52
delayedInterruptMethod · 0.52
genMethod · 0.52
tailrecLoopDelayedMethod · 0.52
nonTailrecLoopDelayedMethod · 0.52
delayedMethod · 0.52