Class ConnectionInitEvent
- All Implemented Interfaces:
MutinyDelegate
-
Field Summary
FieldsFields inherited from class io.vertx.mutiny.core.Promise
__typeArg_0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionInitEvent
(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) ConnectionInitEvent
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
io.smallrye.mutiny.Uni<Object>
future()
Unlike the bare Vert.x variant, this method returns aUni
.Blocking variant ofPromise.future()
.void
Variant ofPromise.future()
that ignores the result of the operation.io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent
int
hashCode()
message()
static ConnectionInitEvent
newInstance
(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent arg) toString()
boolean
tryComplete
(Object arg0) Methods inherited from class io.vertx.mutiny.core.Promise
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFail
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ConnectionInitEvent
public ConnectionInitEvent(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) -
ConnectionInitEvent
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classPromise<Object>
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
complete
-
tryComplete
- Overrides:
tryComplete
in classPromise<Object>
- Parameters:
arg0
- the result- Returns:
false
when the future is already completed
-
future
Description copied from class:Promise
Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation. -
futureAndAwait
Description copied from class:Promise
Blocking 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:
futureAndAwait
in classPromise<Object>
- Returns:
- the T instance produced by the operation.
-
futureAndForget
public void futureAndForget()Description copied from class:Promise
Variant 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:
futureAndForget
in classPromise<Object>
-
message
- Returns:
- message
-
newInstance
public static ConnectionInitEvent newInstance(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent arg)
-