Constructor
DexFuturethen
Declaration [src]
DexFuture*
dex_future_then (
DexFuture* future,
DexFutureCallback callback,
gpointer callback_data,
GDestroyNotify callback_data_destroy
)
Description [src]
Calls callback
when future
resolves.
If future
rejects, then callback
will not be called.
Parameters
future |
DexFuture |
A |
|
The called function takes ownership of the data, and is responsible for freeing it. | |
callback |
DexFutureCallback |
A callback to execute. |
|
callback_data |
gpointer |
Closure data for |
|
callback_data_destroy |
GDestroyNotify |
Destroy notify for |
Return value
Returns: | DexFuture |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |