Promise


Object Hierarchy:

Object hierarchy for Promise

Description:

[ CCode ( type_id = "dex_promise_get_type ()" ) ]
public sealed class Promise : Future

`DexPromise` is a convenient [class@Dex.

Future] for propagating a result or rejection in application and library code.

Use this when there is not a more specialized `DexFuture` for your needs to propagate a result or rejection to the caller in an asynchronous fashion.


Namespace: Dex
Package: libdex-1

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Dex.Object