Vertx.executeBlocking(io.vertx.core.Handler, io.vertx.core.Handler)
             instead@Deprecated
public class BlockingCode
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static BlockingCode | 
forVertx(io.vertx.core.Vertx v)
Deprecated.  
Creates a BlockingCode executor to use in a vertx event loop. 
 | 
<T> java.util.concurrent.CompletableFuture<T> | 
run(java.util.function.Supplier<T> supplier)
Deprecated.  
Returns a future that will execute its followers in the vertx context
 associated with this instance 
 | 
BlockingCode | 
withExecutor(java.util.concurrent.ExecutorService pool)
Deprecated. 
 
the executor is not used anymore 
 | 
public BlockingCode withExecutor(java.util.concurrent.ExecutorService pool)
pool - public static BlockingCode forVertx(io.vertx.core.Vertx v)
VertxPlatform.getVertx() but with
 the vertx instance from your verticlev - public <T> java.util.concurrent.CompletableFuture<T> run(java.util.function.Supplier<T> supplier)
supplier - Copyright © 2023. All Rights Reserved.