ValueOrException

interface ValueOrException<in V>

The contravariant members of OpenFuture.

Inheritors

Functions

Link copied to clipboard
open fun capture(block: () -> V): Boolean

Run the given block (in the foreground) and set this future to its outcome.

Link copied to clipboard
open fun captureLater(f: CordaFuture<out V>)

When the given future has an outcome, make this future have the same outcome.

Link copied to clipboard
abstract fun set(value: V): Boolean
Link copied to clipboard
abstract fun setException(t: Throwable): Boolean