Class ConnectionInitEvent
- java.lang.Object
-
- io.vertx.mutiny.core.Promise<Object>
-
- io.vertx.mutiny.ext.web.handler.graphql.ws.ConnectionInitEvent
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ConnectionInitEvent>__TYPE_ARG-
Fields inherited from class io.vertx.mutiny.core.Promise
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description ConnectionInitEvent(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate)ConnectionInitEvent(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(Object result)booleanequals(Object o)io.smallrye.mutiny.Uni<Object>future()Unlike the bare Vert.x variant, this method returns aUni.ObjectfutureAndAwait()Blocking variant ofPromise.future().voidfutureAndForget()Variant ofPromise.future()that ignores the result of the operation.io.vertx.ext.web.handler.graphql.ws.ConnectionInitEventgetDelegate()inthashCode()Messagemessage()static ConnectionInitEventnewInstance(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent arg)StringtoString()booleantryComplete(Object arg0)-
Methods inherited from class io.vertx.mutiny.core.Promise
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFail
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ConnectionInitEvent> __TYPE_ARG
-
-
Constructor Detail
-
ConnectionInitEvent
public ConnectionInitEvent(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate)
-
ConnectionInitEvent
public ConnectionInitEvent(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent getDelegate()
- Overrides:
getDelegatein classPromise<Object>
-
complete
public void complete(Object result)
-
tryComplete
public boolean tryComplete(Object arg0)
- Overrides:
tryCompletein classPromise<Object>- Parameters:
arg0- the result- Returns:
falsewhen the future is already completed
-
future
@CheckReturnValue public io.smallrye.mutiny.Uni<Object> future()
Description copied from class:PromiseUnlike the bare Vert.x variant, this method returns a
Uni. Don't forget to subscribe on it to trigger the operation.
-
futureAndAwait
public Object futureAndAwait()
Description copied from class:PromiseBlocking variant ofPromise.future().This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Overrides:
futureAndAwaitin classPromise<Object>- Returns:
- the T instance produced by the operation.
-
futureAndForget
public void futureAndForget()
Description copied from class:PromiseVariant ofPromise.future()that ignores the result of the operation.This method subscribes on the result of
Promise.future(), but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromPromise.future()but you don't need to compose it with other operations.- Overrides:
futureAndForgetin classPromise<Object>
-
message
public Message message()
- Returns:
- message
-
newInstance
public static ConnectionInitEvent newInstance(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent arg)
-
-