UnresolvedFuture

Node of a future tree, awaited with await. A node is either a Single node, a Mapped node, or a Combinator node (AnyOf or AllOf).

The HandlerContext implementation reads the tree from another thread while await is in progress: the tree structure must not change, and isDone must be safe to read from other threads.

Inheritors

Types

Link copied to clipboard
Completes when all children succeed, or fails as soon as one child fails.
Link copied to clipboard
Completes as soon as any child completes, either with success or failure.
Link copied to clipboard
Node combining several children.
Link copied to clipboard
Node mapping the result of the upstream node.
Link copied to clipboard
Node completed by the result of its Handle, with no children.

Functions

Link copied to clipboard
abstract fun isDone(): Boolean