Constructor

FoundryFutureItemnew

unstable since: 1.2

Declaration [src]

FoundryFutureItem*
foundry_future_item_new (
  DexFuture* future
)

Description [src]

Creates a new FoundryFutureItem for future.

This function consumes future. future may be NULL. Use foundry_future_item_set_future() to replace the future after construction.

Available since: 1.2

Parameters

future

Type: DexFuture

A future resolving to a GObject.

The argument can be NULL.
The called function takes ownership of the data, and is responsible for freeing it.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.