StaticFuture


Object Hierarchy:

Object hierarchy for StaticFuture

Description:

[ CCode ( type_id = "dex_static_future_get_type ()" ) ]
public sealed class StaticFuture : Future

`DexStaticFuture` represents a future that is resolved from the initial state.

Use this when you need to create a future for API reasons but already have the value or rejection at that point.

`DexStaticFuture` is used internally by functions like [ctor@Dex.Future.new_for_boolean] and similar.


Namespace: Dex
Package: libdex-1

Content:

Creation methods:

Inherited Members:

All known members inherited from class Dex.Object