[ 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.