• future
    • Basic
      • Identifiable
      • Object
        • Anything

no subtypes hierarchy

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
failedFutureshared Future<T?> failedFuture<T>(String failureMessage)

Create a failed future with the specified failure message.

Parameters:
  • failureMessage

    the failure message

failedFutureshared Future<T?> failedFuture<T>(Throwable t)

Create a failed future with the specified failure cause.

Parameters:
  • t

    the failure cause as a Throwable

futureshared Future<T?> future<T>()

Create a future that hasn't completed yet

futureshared Future<T?> future<T>(Anything(Future<T?>) handler)

Create a future that hasn't completed yet and that is passed to the handler before it is returned.

Parameters:
  • handler

    the handler

succeededFutureshared Future<T?> succeededFuture<T>()

Create a succeeded future with a null result

succeededFutureshared Future<T?> succeededFuture<T>(T? result)

Created a succeeded future with the specified result.

Parameters:
  • result

    the result

Inherited Methods
Methods inherited from: Object
equals