CompletionStage < A > function ( A arg0 , long arg1 , TimeUnit arg2 ) { CompletableFuture < A > loc0 = new CompletableFuture < > ( ) ; timer . schedule ( new TimerTask ( ) { @ Override public void run ( ) { loc0 . complete ( arg0 ) ; } } , arg2 . toMillis ( arg1 ) ) ; return loc0 ; }
create a promise that is redeemed after a timeout . concode_field_sep Timer timer concode_field_sep CompletionStage<List<A>> sequence concode_elem_sep CompletionStage<List<A>> sequence concode_elem_sep CompletionStage<A> delayed