vertx-lang-scala-docs_2.12 3.8.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package cli
  Definition Classes
    core
-  package datagram
  Definition Classes
    core
-  package dns
  Definition Classes
    core
-  package eventbus
  Definition Classes
    core
-  package file
  Definition Classes
    core
-  package http
  Definition Classes
    core
-  package json
  Definition Classes
    core
-  package metrics
  Definition Classes
    core
-  package net
  Definition Classes
    core
-  package parsetools
  Definition Classes
    core
-  package shareddata
  Definition Classes
    core
-  package streams
  Definition Classes
    core
- CompositeFuture
- Context
- DeploymentOptions
- Future
- MultiMap
- Promise
- TimeoutStream
- Vertx
- VertxOptions
- WorkerExecutor

o

io.vertx.scala.core

# Promise 

###
Companion class Promise

#### object Promise

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Promise
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def apply[T](asJava: core.Promise[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def failedPromise[T](failureMessage: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]

   Create a failed promise with the specified `failureMessage`.

   Create a failed promise with the specified `failureMessage`. * @param failureMessage the failure message

   returns

     the promise

10.  def failedPromise[T](cause: Throwable)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]

    Create a failed promise with the specified failure `cause`.

    Create a failed promise with the specified failure `cause`. * @param cause the failure cause as a Throwable

    returns

      the promise

11.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
12.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
13.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
16.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
17.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
18.  def promise[T]()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]

    Create a promise that hasn't completed yet * @return the promise

19.  def succeededPromise[T](result: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]

    Created a succeeded promise with the specified `result`.

    Created a succeeded promise with the specified `result`. * @param result the result

    returns

      the promise

20.  def succeededPromise[T]()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Promise[T]

    Create a succeeded promise with a `null` result * @return the promise

21.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
22.  def toString(): String
    Definition Classes
      AnyRef → Any
23.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
24.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
25.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped