Class ApolloWSConnectionInitEvent


  • public class ApolloWSConnectionInitEvent
    extends Promise<Object>

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • ApolloWSConnectionInitEvent

        public ApolloWSConnectionInitEvent​(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent delegate)
      • ApolloWSConnectionInitEvent

        public ApolloWSConnectionInitEvent​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent getDelegate()
        Overrides:
        getDelegate in class Promise<Object>
      • tryComplete

        @Deprecated
        public boolean tryComplete​(Object arg0)
        Deprecated.
        Overrides:
        tryComplete in class Promise<Object>
        Parameters:
        arg0 - the result
        Returns:
        false when the future is already completed
      • future

        @CheckReturnValue
        @Deprecated
        public io.smallrye.mutiny.Uni<Object> future()
        Deprecated.
        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.

        Overrides:
        future in class Promise<Object>
        Returns:
        the uni firing the result of the operation when completed, or a failure if the operation failed.
      • futureAndAwait

        @Deprecated
        public Object futureAndAwait()
        Deprecated.
        Description copied from class: Promise
        Blocking variant of Promise.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 class Promise<Object>
        Returns:
        the T instance produced by the operation.
      • futureAndForget

        @Deprecated
        public void futureAndForget()
        Deprecated.
        Description copied from class: Promise
        Variant of Promise.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 from Promise.future() but you don't need to compose it with other operations.

        Overrides:
        futureAndForget in class Promise<Object>
      • newInstance

        public static ApolloWSConnectionInitEvent newInstance​(io.vertx.ext.web.handler.graphql.ApolloWSConnectionInitEvent arg)