public static < T > ComposableFuture < T > doubleDispatch ( final long duration , final TimeUnit unit , final FutureAction < T > action ) { return EagerComposableFuture . doubleDispatch ( action , duration , unit , getScheduler ( ) ) ; }
creates a future that fires the first future immediately and a second one after a specified time period if result hasn t arrived yet . should be used with eager futures .